]> git.tdb.fi Git - libs/gl.git/commit
Use accurate assignment targets in ExpressionInliner
authorMikko Rasa <tdb@tdb.fi>
Tue, 9 Mar 2021 08:39:58 +0000 (10:39 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 9 Mar 2021 08:42:56 +0000 (10:42 +0200)
commitdaff631cf87db75bcae616605e759d281258d9e4
treeed0ac50c5bc89aac3353668df7c3b6283c9ea62b
parente2357c3e5438706ab6fcda86199cd897d46cfcd3
Use accurate assignment targets in ExpressionInliner

This fixes an issue where it inline an assignment to a subfield in place
of a reference to the whole variable.
source/glsl/optimize.cpp
source/glsl/optimize.h