2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

renderer_vulkan: skip SetObjectNameEXT on unsupported driver

This commit is contained in:
Liam 2023-12-23 11:08:02 -05:00
parent 91290b9be4
commit 6a1ddc5028

View file

@ -246,8 +246,10 @@ void SetObjectName(const DeviceDispatch* dld, VkDevice device, T handle, VkObjec
.objectHandle = reinterpret_cast<u64>(handle),
.pObjectName = name,
};
if (dld->vkSetDebugUtilsObjectNameEXT) {
Check(dld->vkSetDebugUtilsObjectNameEXT(device, &name_info));
}
}
} // Anonymous namespace