]> git.tdb.fi Git - libs/gl.git/commit
Fix an issue where member assignments were incorrectly optimized away
authorMikko Rasa <tdb@tdb.fi>
Wed, 3 Mar 2021 16:48:34 +0000 (18:48 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 00:26:15 +0000 (02:26 +0200)
commit455fbb0b9c7d7c4b66cc969ad0e9915fe95e420f
tree64fa1a8ce1e41eabef8bca3d2ffef4a5e84e2ace
parentf15a404bf1a02ca5924c0d40260aab8c9dfd9d44
Fix an issue where member assignments were incorrectly optimized away

They are now treated as subfield assignments, same as array subscripts.
source/glsl/optimize.cpp
source/glsl/optimize.h