GPUOpen-Archive / Anvil

Anvil is a cross-platform framework for Vulkan
MIT License
594 stars 62 forks source link

Debug names for BasePipelineInfo? #86

Closed Silverlan closed 5 years ago

Silverlan commented 6 years ago

The baking of a pipeline is usually delayed until that pipeline is actually used. If you have a lot of pipelines, and Anvil::GraphicsPipelineManager::bake triggers an assertion failure in one of them, it can be difficult to tell which pipeline actually triggered it. For cases like that it would be handy if a debug name could be assigned to Anvil::BasePipelineInfo objects, similar to how a name can be assigned to resources like Anvil::Image.

DominikWitczakAMD commented 5 years ago

Fixed internally. BasePipelineCreateInfo now exposes name accessors.