wgpu icon indicating copy to clipboard operation
wgpu copied to clipboard

Add optional color to debug groups/markers

Open JMS55 opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. A program with thousands of API calls gets hard to debug in tools like NSight, RenderDoc, or PIX.

Describe the solution you'd like Allow optionally specifying a color for debug group/marker functions to make visually finding the passes your interested in easier.

JMS55 avatar Sep 23 '24 03:09 JMS55

Amusingly, this used to be in the api way long ago but was removed. I think we should just ignore any color values unsupported by the underlying api.

cwfitzgerald avatar Sep 23 '24 03:09 cwfitzgerald

Agreed, if the underlying API does not support it, just skip the coloring.

JMS55 avatar Sep 23 '24 03:09 JMS55