diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-07-13 08:31:18 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-07-13 08:31:18 -0700 |
| commit | f48035ff26381d8bc22a7e484eda53fc087ae7b7 (patch) | |
| tree | 386850410dd54db47ed61188cbfb5ce882653c7a /source/slang/reflection.cpp | |
| parent | c2fca572d76160c7211a33b781335e649611b1d2 (diff) | |
Don't emit C-style `#line` directives when directly generating GLSL
- This fixes the render tests, which aren't tested by the continuous integration setup
- This was broken in the commit that decided to use C-style directives all the time.
- This works for stuff that eventually passes through glslang (or at least our build of it)
- It *doensn't* work if we take the GLSL and pass it off to an OpenGL driver (which is what I do for testing)
- A longer-term fix is still required to deal with line directives properly
Diffstat (limited to 'source/slang/reflection.cpp')
0 files changed, 0 insertions, 0 deletions
