]> git.tdb.fi Git - libs/gl.git/commit - source/glsl/finalize.h
Fix flattening of GLSL interface blocks
authorMikko Rasa <tdb@tdb.fi>
Mon, 8 Nov 2021 16:15:39 +0000 (18:15 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 8 Nov 2021 16:15:39 +0000 (18:15 +0200)
commitd03f6d46d0646c53ec3dcd00ddfd6c718ad18720
treec268b7d480a15c5beab2da78b18eaa0b2a9f3298
parent30904c6b6e7d885d9ade818328a2137c204e7efe
Fix flattening of GLSL interface blocks

Anonymous interface blocks are treated as nameless variables since
dfcf8eb, so the member accesses need to be converted to plain variable
references when the block is flattened.
source/glsl/finalize.cpp
source/glsl/finalize.h