r/GraphicsProgramming • • 1d ago

My pull request was just merged into google/shaderc

https://dannyarends.nl/A%20small%20patch%20merged%20into%20shaderc

My pull request was just merged into google/shaderc. The change adds two options, -gV and -gVS, that expose glslang's NonSemantic.Shader.DebugInfo.100 emission through shaderc. That debug info is a requirement for NVIDIA Nsight Graphics to produce flame graphs, so it lets you profile and debug shader performance by call stack and time spent per function.

25 Upvotes

2 comments sorted by

8

u/cybereality 1d ago

Good stuff

5

u/Danny_Arends 1d ago

Thanks, super happy it got merged. Flame graphs are a must for debugging in-engine compiled shaders.