]> git.tdb.fi Git - libs/gl.git/commitdiff
Clear variable load cache before a loop in the SPIR-V generator
authorMikko Rasa <tdb@tdb.fi>
Sat, 24 Apr 2021 18:04:10 +0000 (21:04 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 24 Apr 2021 19:29:02 +0000 (22:29 +0300)
Variables may get assigned in the loop and the next iteration needs to
read those values, not the cached pre-loop values.

This could be done better by only clearing loads for the variables which
are actually assigned in the loop, but I'm not sure how exactly I want
to do that.


No differences found