]> git.tdb.fi Git - libs/gl.git/commit
Record assignment targets more precisely
authorMikko Rasa <tdb@tdb.fi>
Tue, 9 Mar 2021 07:43:08 +0000 (09:43 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 9 Mar 2021 08:27:09 +0000 (10:27 +0200)
commitcc3f4aaaf8d2b34347f69b026c10f82797059aa4
treefb2de659734ec554b94190275a9bb4a9e9db3c30
parent50a79aee4c53c4198bae38c7ff447133a043aacc
Record assignment targets more precisely

If the assignment is to a structure or vector field or an array element,
it's recorded to the node so optimizers can better match assignments and
references (they don't do that yet).
source/glsl/compatibility.cpp
source/glsl/debug.cpp
source/glsl/generate.cpp
source/glsl/generate.h
source/glsl/optimize.cpp
source/glsl/syntax.cpp
source/glsl/syntax.h