diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-07-29 10:39:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-29 10:39:46 -0400 |
| commit | ebf0e524d61d81a845daaf244b7ceef6c279f95e (patch) | |
| tree | 0f5679c8a20973248d4e64a0f0a325f20a1ebeba /tools/render-test/render-test-main.cpp | |
| parent | c6f6ce12ec522b193b42bcd12d3a2540c7a6ff92 (diff) | |
Improvements around glslang optimization (#1916)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Improvements to how glslang optimizations are handled. Increasing the amount of ids to allow for optimizing more complex shaders, and compacting to try and keep ids within range for usage.
* Add other optimizations from current glslang.
* Improved -O1/default GLSLANG passes improves output SPIR-V size (Can be more that 1/3 of the size), for a modest increase in compilation time.
* Improve comments.
Diffstat (limited to 'tools/render-test/render-test-main.cpp')
0 files changed, 0 insertions, 0 deletions
