radeon_gpu_profiler icon indicating copy to clipboard operation
radeon_gpu_profiler copied to clipboard

Display shader names in event details?

Open aejsmith opened this issue 8 years ago • 2 comments

It would be useful if it was possible to see the names of shaders (set via vkDebugMarkerSetObjectNameEXT) used for a given draw/dispatch somewhere, for instance in the pipeline state view.

This would make it much easier to figure out which shaders are in use for a given event - currently I see no easy way to do this (unless I'm missing something?) outside of adding debug markers before individual events.

aejsmith avatar Aug 01 '17 11:08 aejsmith

Hi,

Thanks for the feedback. RGP should be displaying markers set with vkDebugMarkerSetObjectName. This is done in Sascha Willems' DebugMarker application. Can you see markers like this, or is the question more of a case of you'd like to see this information displayed elsewhere?

Showing the names of shaders is an interesting idea (or at least having some method of linking a draw/dispatch back to shader source code) and is something we're currently investigating.

ahosier avatar Aug 01 '17 11:08 ahosier

I'm seeing markers added with vkCmdDebugMarkerInsertEXT in the event list, but not object names anywhere.

I was wondering if the object names set on the shaders in a pipeline could be displayed somewhere, since currently I'm having to add markers before draws/dispatches to find those out.

aejsmith avatar Aug 01 '17 12:08 aejsmith