Home > Blockchain >  rust ash (vulkan), how can I test the debug name of a struct?
rust ash (vulkan), how can I test the debug name of a struct?

Time:08-11

Say I use the DebugUtils object to set the name of a logical device, i.e. a vk::Device. How can I trigger a validation message involving the object to test that the name matches my expectation?

CodePudding user response:

You need to forcefully do something that the validation layers pickup. E.g. creating a buffer with a wrong alignment or flags.

Another (better) option is to run your application through enter image description here

  • Related