]> git.tdb.fi Git - libs/gl.git/commitdiff
Remove conditionals and loops that can be determined to never run
authorMikko Rasa <tdb@tdb.fi>
Mon, 14 Nov 2016 13:33:45 +0000 (15:33 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 14 Nov 2016 13:33:45 +0000 (15:33 +0200)
This is the other major step required for standard shader generation.
Currently the constant condition eliminator is pretty conservative and
will only consider the initialization values of variables.  Globals are
only considered if they are declared const.


No differences found