]> git.tdb.fi Git - libs/gl.git/commit
Remove conditional and iteration statements with no effect from GLSL
authorMikko Rasa <tdb@tdb.fi>
Sun, 3 Oct 2021 13:15:05 +0000 (16:15 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 3 Oct 2021 16:34:36 +0000 (19:34 +0300)
commitc39bb707ff8678d0675538994dc05182e61da193
tree5b64b6480e3c35df6520632f3c5b3e8768b32be6
parent12a95b6552d6c67d68ea8aca2561abf3fb2b80e6
Remove conditional and iteration statements with no effect from GLSL
source/glsl/optimize.cpp
source/glsl/optimize.h
tests/glsl/empty_conditional_removal.glsl [new file with mode: 0644]
tests/glsl/empty_loop_removal.glsl [new file with mode: 0644]
tests/glsl/keep_empty_loop_with_side_effects.glsl [new file with mode: 0644]