diff options
author | Ian Romanick <[email protected]> | 2016-09-15 11:18:35 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-11-10 14:30:49 -0800 |
commit | 4dc759c8c236e725ff7bbd439e19eada12bf390f (patch) | |
tree | 2d0b3ed0db486bb87d548578bf063685d1cd1488 /docs/postprocess.html | |
parent | f45a2a93aea0a57cf0aa8ee9ca062fcc42407a44 (diff) |
glsl/standalone: Optimize dead variable declarations
We didn't bother with this in the regular compiler because it doesn't
change the generated code. In the stand-alone compiler, this can
clutter the output with useless variables. It's especially bad after
functions are inlined but the foo_retval declarations remain.
v2: Use set_foreach. Suggested by Tapani.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'docs/postprocess.html')
0 files changed, 0 insertions, 0 deletions