Don't set shader path tag when not available

This commit is contained in:
baldurk committed 2026-10-27 12:22:57 +00:00
1 parent 7abab64151
commit 41a17ba6f7
1 file changed
+1 -1
+1 -1
View File
@@ -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;