google / shaderc

A collection of tools, libraries, and tests for Vulkan shader compilation.
Other
1.79k stars 343 forks source link

Generate nonsemantic shader debug information #1392

Open tksuoran opened 5 months ago

tksuoran commented 5 months ago

Proof of concept fix for #1391.

Possibly emitNonSemanticShaderDebugInfo and emitNonSemanticShaderDebugSource should be controlled using dedicated command line arguments instead of just -g.

This worked for me and allowed me to use RenderDoc source debugging.

vinh-truong-sc commented 2 months ago

Hey, we are also interested in this feature. Can someone look at this and merge it?

PolarNick239 commented 1 week ago

Hi! Debug information is very useful for Vulkan-API debugging with RenderDoc. I hope it will be merged soon! :)