mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 08:50:01 +00:00
renderer_vulkan: skip SetObjectNameEXT on unsupported driver
This commit is contained in:
parent
91290b9be4
commit
6a1ddc5028
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue