mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-03 20:48:22 +00:00
Don't set shader path tag when not available
This commit is contained in:
1 file changed
+1
-1
@@ -1054,7 +1054,7 @@ VkPipelineShaderStageCreateInfo VulkanGraphicsTest::CompileShaderModule(
|
||||
path = std::string(demoName) + "/" + path;
|
||||
}
|
||||
|
||||
if(vkSetDebugUtilsObjectTagEXT)
|
||||
if(vkSetDebugUtilsObjectTagEXT && !path.empty())
|
||||
{
|
||||
VkDebugUtilsObjectTagInfoEXT info = {};
|
||||
info.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT;
|
||||
|
||||
Reference in new issue
Block a user