diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-26 17:45:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-26 17:45:39 +0100 |
commit | 69b7100dac80ebe94bcb4574bd21f9f6a229e322 (patch) | |
tree | feb073920f80927d56564da25dfc4e219760b6d8 /src/video_core/vulkan_common | |
parent | Merge pull request #12448 from liamwhite/format-assert (diff) | |
parent | renderer_vulkan: skip SetObjectNameEXT on unsupported driver (diff) | |
download | yuzu-69b7100dac80ebe94bcb4574bd21f9f6a229e322.tar yuzu-69b7100dac80ebe94bcb4574bd21f9f6a229e322.tar.gz yuzu-69b7100dac80ebe94bcb4574bd21f9f6a229e322.tar.bz2 yuzu-69b7100dac80ebe94bcb4574bd21f9f6a229e322.tar.lz yuzu-69b7100dac80ebe94bcb4574bd21f9f6a229e322.tar.xz yuzu-69b7100dac80ebe94bcb4574bd21f9f6a229e322.tar.zst yuzu-69b7100dac80ebe94bcb4574bd21f9f6a229e322.zip |
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_wrapper.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.cpp b/src/video_core/vulkan_common/vulkan_wrapper.cpp index 2f78b8af0..074aed964 100644 --- a/src/video_core/vulkan_common/vulkan_wrapper.cpp +++ b/src/video_core/vulkan_common/vulkan_wrapper.cpp @@ -246,7 +246,9 @@ void SetObjectName(const DeviceDispatch* dld, VkDevice device, T handle, VkObjec .objectHandle = reinterpret_cast<u64>(handle), .pObjectName = name, }; - Check(dld->vkSetDebugUtilsObjectNameEXT(device, &name_info)); + if (dld->vkSetDebugUtilsObjectNameEXT) { + Check(dld->vkSetDebugUtilsObjectNameEXT(device, &name_info)); + } } } // Anonymous namespace |