mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-08 21:30:05 +00:00
3afbfdb090
When inside a loop, treat any read of outer expressions to happen multiple times, forcing a temporary of said outer expressions. This avoids the problem where we can end up relying on loop-invariant code motion to happen in the compiler when converting optimized shaders. |
||
---|---|---|
.. | ||
frag | ||
vert |