diff options
author | bunnei <bunneidev@gmail.com> | 2021-07-27 19:18:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 19:18:45 +0200 |
commit | e2c42ec5e25abbbefb01d19d34337921e1c20c1c (patch) | |
tree | f90f3a68e28bc9b956817c35acdaa3a6011c7690 /src/video_core | |
parent | Merge pull request #6696 from ameerj/speed-limit-rename (diff) | |
parent | vulkan_wrapper: Fix SetObjectName() always indicating objects as images (diff) | |
download | yuzu-e2c42ec5e25abbbefb01d19d34337921e1c20c1c.tar yuzu-e2c42ec5e25abbbefb01d19d34337921e1c20c1c.tar.gz yuzu-e2c42ec5e25abbbefb01d19d34337921e1c20c1c.tar.bz2 yuzu-e2c42ec5e25abbbefb01d19d34337921e1c20c1c.tar.lz yuzu-e2c42ec5e25abbbefb01d19d34337921e1c20c1c.tar.xz yuzu-e2c42ec5e25abbbefb01d19d34337921e1c20c1c.tar.zst yuzu-e2c42ec5e25abbbefb01d19d34337921e1c20c1c.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.cpp b/src/video_core/vulkan_common/vulkan_wrapper.cpp index bbf0fccae..70898004a 100644 --- a/src/video_core/vulkan_common/vulkan_wrapper.cpp +++ b/src/video_core/vulkan_common/vulkan_wrapper.cpp @@ -202,7 +202,7 @@ void SetObjectName(const DeviceDispatch* dld, VkDevice device, T handle, VkObjec const VkDebugUtilsObjectNameInfoEXT name_info{ .sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT, .pNext = nullptr, - .objectType = VK_OBJECT_TYPE_IMAGE, + .objectType = type, .objectHandle = reinterpret_cast<u64>(handle), .pObjectName = name, }; |