aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core
diff options
context:
space:
mode:
authorliamwhite <[email protected]>2023-12-26 11:45:39 -0500
committerGitHub <[email protected]>2023-12-26 11:45:39 -0500
commit69b7100dac80ebe94bcb4574bd21f9f6a229e322 (patch)
treefeb073920f80927d56564da25dfc4e219760b6d8 /src/video_core
parent14dc41d4b331fffc7def584d65ead4aae6c1c118 (diff)
parent6a1ddc50287cc6394f45ac4235cc742369c8bff2 (diff)
downloadyuzu-android-69b7100dac80ebe94bcb4574bd21f9f6a229e322.tar.gz
yuzu-android-69b7100dac80ebe94bcb4574bd21f9f6a229e322.zip
Merge pull request #12449 from liamwhite/debug-utils
renderer_vulkan: skip SetObjectNameEXT on unsupported driver
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/vulkan_common/vulkan_wrapper.cpp4
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