From: Mikko Rasa Date: Mon, 14 Nov 2016 13:33:45 +0000 (+0200) Subject: Remove conditionals and loops that can be determined to never run X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=ba97b71564cadd322fe1bf3d8afe556b38ef0647;hp=ba97b71564cadd322fe1bf3d8afe556b38ef0647;p=libs%2Fgl.git Remove conditionals and loops that can be determined to never run 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. ---