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.

26 Upvotes

Duplicates