Skip to content
This repository was archived by the owner on Aug 3, 2021. It is now read-only.

Conversation

@tangent-vector
Copy link
Contributor

These rely on Slang v0.7.3

  • One option controls whether Slang outputs #line directives, which can help when diagnosing cross-compilation issues

  • The other option controls whether Slang dumps intermediate files (GLSL/HLSL source, SPIR-V assembly, ...) as it generates them. These can be used to help debug as well.

Both of these options are off by default, of course.

  • I also added a line ot the .gitignore to make sure that intermediate files dumped by Slang don't show up with git status

These rely on Slang `v0.7.3`

- One option controls whether Slang outputs `#line` directives, which can help when diagnosing cross-compilation issues

- The other option controls whether Slang dumps intermediate files (GLSL/HLSL source, SPIR-V assembly, ...) as it generates them. These can be used to help debug as well.

Both of these options are off by default, of course.

- I also added a line ot the `.gitignore` to make sure that intermediate files dumped by Slang don't show up with `git status`
@tangent-vector
Copy link
Contributor Author

@nbenty Once you've merged Slang v0.7.4 you should be able to review and accept this. It isn't a priority, but the next time you find yourself saying "how do I disable the #line directives?" you can just merge this instead of hacking things. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant