]> git.tdb.fi Git - libs/gl.git/commit
Recognize unknown index as matching any index
authorMikko Rasa <tdb@tdb.fi>
Sat, 9 Oct 2021 16:46:27 +0000 (19:46 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 9 Oct 2021 17:14:48 +0000 (20:14 +0300)
commite2ed3de4cbbc682ff490a3b0b760b8a45260f611
treeb6cdecdd73391d37c29aef9231764acb3bd39a86
parent24e4eea282917c3f6e4e16a2825372da64133e35
Recognize unknown index as matching any index

If an array is accessed with an unknown index, all assignments to the
array must be kept.
source/glsl/optimize.cpp
tests/glsl/array_element_assignment.glsl [new file with mode: 0644]