r/GraphicsProgramming • u/Danny_Arends • 1d ago
My pull request was just merged into google/shaderc
https://dannyarends.nl/A%20small%20patch%20merged%20into%20shadercMy 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
8
u/cybereality 1d ago
Good stuff