| 149 | } |
| 150 | |
| 151 | void VulkanDevice::SetObjectName(const char* name, uint64_t handle, VkObjectType type) |
| 152 | { |
| 153 | if (!DebugLayerActive) return; |
| 154 | |
| 155 | VkDebugUtilsObjectNameInfoEXT info = {}; |
| 156 | info.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT; |
| 157 | info.objectHandle = handle; |
| 158 | info.objectType = type; |
| 159 | info.pObjectName = name; |
| 160 | vkSetDebugUtilsObjectNameEXT(device, &info); |
| 161 | } |
no outgoing calls
no test coverage detected