From: Mikko Rasa Date: Sat, 24 Apr 2021 18:04:10 +0000 (+0300) Subject: Clear variable load cache before a loop in the SPIR-V generator X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=513dd710045f66c4e79e1db56cdad87e9ad143a0;hp=513dd710045f66c4e79e1db56cdad87e9ad143a0;p=libs%2Fgl.git Clear variable load cache before a loop in the SPIR-V generator 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. ---