google / shaderc

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

SPIR_V: Generate nonsemantic shader debug information (with source) #1391

Open tksuoran opened 5 months ago

tksuoran commented 5 months ago

Enabling nonsemantic shader debug information would allow source debugging with RenderDoc, for example.

Essentially same as the following options for glslang:

  -gV         generate nonsemantic shader debug information
  -gVS        generate nonsemantic shader debug information with source
dneto0 commented 2 months ago

I posted a comment on the PR. I think it's fine / better to tie it directly to -g. Thanks!