]> git.tdb.fi Git - libs/gl.git/commit
Save possible outer reference when entering subscript
authorMikko Rasa <tdb@tdb.fi>
Sat, 16 Oct 2021 13:49:44 +0000 (16:49 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 16 Oct 2021 16:03:01 +0000 (19:03 +0300)
commit1b9417220971f271daaf2d4cc7e2a41d34edaeb0
tree3b61c90f8e7c911710c517f0f3ea82cbe0b8a77e
parent9656026f49b0063e035825fec2a96e17b6de93af
Save possible outer reference when entering subscript

Otherwise it gets corrupted and the outer variable may be incorrectly
removed if nothing else refers to it.
source/glsl/optimize.cpp
tests/glsl/nested_member_access.glsl [new file with mode: 0644]