]> git.tdb.fi Git - libs/gl.git/commit
Further improve inlining of GLSL functions
authorMikko Rasa <tdb@tdb.fi>
Mon, 1 Mar 2021 23:25:30 +0000 (01:25 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 1 Mar 2021 23:29:35 +0000 (01:29 +0200)
commitd5c7c7f0b15c407b3da2184936e6deed18554c6a
tree551a0be45c3fc2537c2445620931bc4d12540dc1
parent2d79e7d495480251ada1bd6478339537b9799e7f
Further improve inlining of GLSL functions

Functions of any lenght can now be inlined, as long as they have linear
control flow.
source/glsl/compiler.cpp
source/glsl/optimize.cpp
source/glsl/optimize.h