Adding object debug naming

This commit is contained in:
Dynamitos committed 2024-01-31 14:05:36 +01:00
1 parent 567c3014b1
commit d903689435
7 files changed
+53 -10

No files matched your search

+7
View File
@@ -293,6 +293,12 @@ void Graphics::vkCmdDrawMeshTasksEXT(VkCommandBuffer handle, uint32 groupX, uint
cmdDrawMeshTasks(handle, groupX, groupY, groupZ);
}
void Graphics::vkDebugMarkerSetObjectNameEXT(VkDebugMarkerObjectNameInfoEXT* info)
{
VK_CHECK(cmdDebugMarkerSetObjectName(handle, info));
}
PCommandPool Graphics::getQueueCommands(Gfx::QueueType queueType)
{
switch (queueType)
@@ -422,6 +428,7 @@ void Graphics::setupDebugCallback()
.pUserData = nullptr,
};
VK_CHECK(CreateDebugUtilsMessengerEXT(instance, &createInfo, nullptr, &callback));
cmdDebugMarkerSetObjectName = (PFN_vkDebugMarkerSetObjectNameEXT)vkGetInstanceProcAddr(instance, "vkDebugMarkerSetObjectNameEXT");
}
void Graphics::pickPhysicalDevice()