Vulkan: Set Debug Name For Descriptor Layout

This makes tracking shaders easier across the pipeline. Durring logging
and debugging the vulkan driver now remembers the shader associate to
the descriptor and provides this information in its messages.

Pull Request: https://projects.blender.org/blender/blender/pulls/108743
This commit is contained in:
Jeroen Bakker
2023-06-08 09:47:17 +02:00
parent db4cd61001
commit 4faee0b26e

View File

@@ -914,6 +914,7 @@ bool VKShader::finalize_descriptor_set_layouts(VkDevice vk_device,
{
return false;
};
debug::object_label(layout_, name_get());
return true;
}