]> git.tdb.fi Git - libs/gl.git/commit
Always use member access for interface blocks, even anonymous ones
authorMikko Rasa <tdb@tdb.fi>
Mon, 5 Apr 2021 11:49:41 +0000 (14:49 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 5 Apr 2021 11:58:53 +0000 (14:58 +0300)
commitdfcf8ebc329b79c369b88bdbeb982480aa5fc12a
tree092038dbce0918975091163fc8280bf67708e047
parent48461f515f2619ab480b4d6c1d61deaf91e73854
Always use member access for interface blocks, even anonymous ones

Having variable references magically refer to variables inside interface
blocks causes trouble when generating SPIR-V.

This currently breaks one test case because UnusedVariableRemover can't
track access chains.
source/glsl/optimize.cpp
source/glsl/output.cpp
source/glsl/output.h
source/glsl/resolve.cpp