]> git.tdb.fi Git - libs/gl.git/commit
Break up struct variables if they're not used as a whole
authorMikko Rasa <tdb@tdb.fi>
Sat, 9 Oct 2021 16:44:06 +0000 (19:44 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 9 Oct 2021 17:14:48 +0000 (20:14 +0300)
commit24e4eea282917c3f6e4e16a2825372da64133e35
tree9b9f8e7d196da1c11cf244f249e0cae768c5f482
parent38712d8ecc57d043a2419ffbaeeb57f7a6586f14
Break up struct variables if they're not used as a whole

This lets the optimizer inline or discard individual members depending
on how or if they're used.
source/glsl/compiler.cpp
source/glsl/optimize.cpp
source/glsl/optimize.h