mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
Merge pull request #12449 from liamwhite/debug-utils
renderer_vulkan: skip SetObjectNameEXT on unsupported driver
This commit is contained in:
commit
69b7100dac
@ -246,8 +246,10 @@ void SetObjectName(const DeviceDispatch* dld, VkDevice device, T handle, VkObjec
|
|||||||
.objectHandle = reinterpret_cast<u64>(handle),
|
.objectHandle = reinterpret_cast<u64>(handle),
|
||||||
.pObjectName = name,
|
.pObjectName = name,
|
||||||
};
|
};
|
||||||
|
if (dld->vkSetDebugUtilsObjectNameEXT) {
|
||||||
Check(dld->vkSetDebugUtilsObjectNameEXT(device, &name_info));
|
Check(dld->vkSetDebugUtilsObjectNameEXT(device, &name_info));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} // Anonymous namespace
|
} // Anonymous namespace
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user