renderdoc icon indicating copy to clipboard operation
renderdoc copied to clipboard

API Calls: Access masks should be displayed as text strings, instead of ints

Open DominikWitczakAMD opened this issue 10 years ago • 3 comments

With the latest build created from the master, if I try to have a look at the arguments passed to a vkCmdPipelineBarrier() call, I get this:

image

Since I don't have the access mask bit values learned by heart, it would be of tremendous value if we could replace these with human-readable text strings :)

DominikWitczakAMD avatar Mar 11 '16 11:03 DominikWitczakAMD

Ah this shouldn't be hard to fix, I just need to cast the VkFlags (which is just typedef'd to uint32 so I cannot serialise it as strings) to a VkFlagBits, then just handle multiple flags being set. I do it for some other flag types.

baldurk avatar Mar 11 '16 12:03 baldurk

image

baldurk avatar Mar 11 '16 21:03 baldurk

Awesome :)

DominikWitczakAMD avatar Mar 11 '16 21:03 DominikWitczakAMD