mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-07 06:15:38 +00:00
Add more overloads for VulkanGraphicsTest::setName
This commit is contained in:
@@ -1055,6 +1055,12 @@ void VulkanGraphicsTest::setName(VkPipeline obj, const std::string &name)
|
||||
setName(VK_OBJECT_TYPE_PIPELINE, (uint64_t)obj, name);
|
||||
}
|
||||
|
||||
template <>
|
||||
void VulkanGraphicsTest::setName(VkPipelineLayout obj, const std::string &name)
|
||||
{
|
||||
setName(VK_OBJECT_TYPE_PIPELINE_LAYOUT, (uint64_t)obj, name);
|
||||
}
|
||||
|
||||
template <>
|
||||
void VulkanGraphicsTest::setName(VkFramebuffer obj, const std::string &name)
|
||||
{
|
||||
@@ -1109,6 +1115,24 @@ void VulkanGraphicsTest::setName(VkAccelerationStructureKHR obj, const std::stri
|
||||
setName(VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR, (uint64_t)obj, name);
|
||||
}
|
||||
|
||||
template <>
|
||||
void VulkanGraphicsTest::setName(VkDescriptorSetLayout obj, const std::string &name)
|
||||
{
|
||||
setName(VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT, (uint64_t)obj, name);
|
||||
}
|
||||
|
||||
template <>
|
||||
void VulkanGraphicsTest::setName(VkDescriptorSet obj, const std::string &name)
|
||||
{
|
||||
setName(VK_OBJECT_TYPE_DESCRIPTOR_SET, (uint64_t)obj, name);
|
||||
}
|
||||
|
||||
template <>
|
||||
void VulkanGraphicsTest::setName(VkRenderPass obj, const std::string &name)
|
||||
{
|
||||
setName(VK_OBJECT_TYPE_RENDER_PASS, (uint64_t)obj, name);
|
||||
}
|
||||
|
||||
void VulkanGraphicsTest::setName(VkObjectType objType, uint64_t obj, const std::string &name)
|
||||
{
|
||||
if(vkSetDebugUtilsObjectNameEXT)
|
||||
|
||||
Reference in New Issue
Block a user