diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-10-30 11:17:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-30 11:17:20 -0700 |
| commit | c24c173101c2c124401af77d8c513a23efac3b7e (patch) | |
| tree | 62878bd6a88f7535667c73beaa514aa69e8df869 /tools/render-test/render-gl.cpp | |
| parent | 4ab545bcd0716cc3f2da432a921c1f53fdce7925 (diff) | |
Fix output for type cast when checking fails (#238)
There were some cases where we would try to emit an `ErrorType` to the output HLSL, which obviously isn't allowed. This change tries to avoid emitting error types, and instead use the original expression when it is available.
I tried adding a test case for the change, but I can't convince Slang to output matching line numbers for the error message; it seems like more work is needed on that front.
Diffstat (limited to 'tools/render-test/render-gl.cpp')
0 files changed, 0 insertions, 0 deletions
