]> git.tdb.fi Git - libs/gl.git/commit
Handle all constructs when inlining GLSL functions
authorMikko Rasa <tdb@tdb.fi>
Wed, 3 Mar 2021 11:02:55 +0000 (13:02 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 3 Mar 2021 15:28:53 +0000 (17:28 +0200)
commitf76e62a74917dbd850912587a5e79240dec9681f
treeb5335200e156e06b5b2d28f6feda482ab13ec179
parent223e295e4404a3913b8243d3b7eb12da39a68144
Handle all constructs when inlining GLSL functions

We need to look for function calls inside conditional and iteration
statements too, and inline calls within condition expressions.
source/glsl/optimize.cpp
source/glsl/optimize.h