summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-07-27 19:18:45 +0200
committerGitHub <noreply@github.com>2021-07-27 19:18:45 +0200
commite2c42ec5e25abbbefb01d19d34337921e1c20c1c (patch)
treef90f3a68e28bc9b956817c35acdaa3a6011c7690 /src/video_core
parentMerge pull request #6696 from ameerj/speed-limit-rename (diff)
parentvulkan_wrapper: Fix SetObjectName() always indicating objects as images (diff)
downloadyuzu-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.cpp2
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,
};