How to preserve comments in glsl files?
Open
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 445
- Avg merge
- 11h 6m
- Merged PRs (30d)
- 6
Description
We set -g, but I noted that glslc says " Generate source-level debug information. Currently this option has no effect.". I don't see any comments by the time we've run spirv-opt and spirv-cross back to Metal. The original GLSL has comments that are important to preserve in debug builds. It may be that we need flags subsequent to glslc, so I will look at the preprocessed output.
Contributor guide
Assessment
This issue has not been assessed yet.