diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-07-10 11:31:16 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-07-11 09:38:28 -0700 |
| commit | d86748d3e0767c01d9be6def86df63febb82c2eb (patch) | |
| tree | 1ba432b042edcd38c1ba40d6cbc57cea55737bd5 /source/slang/compiler.cpp | |
| parent | 7d2c2f1bf75ed89bc97f35d5b095356db9b2b725 (diff) | |
Don't emitting an imported declaration unless it is used.
This helps avoid the problem where we emit a function that does a `discard` and thus get a GLSL compilation failure in a vertex shader (that doesn't even call the function).
Diffstat (limited to 'source/slang/compiler.cpp')
0 files changed, 0 insertions, 0 deletions
