03d93abc1a
There is a risk that we try to preserve a loop variable through multiple iterations, even though the dominating block is inside a loop. Fix this by analyzing if a block starts off by writing to a variable. In that case, there cannot be any preservation going on. If we don't, pretend the loop header is reading the variable, which moves the variable to an appropriate scope. |
||
---|---|---|
.. | ||
array.flatten.vert | ||
basic.flatten.vert | ||
copy.flatten.vert | ||
dynamic.flatten.vert | ||
matrix-conversion.flatten.frag | ||
matrixindex.flatten.vert | ||
multi-dimensional.desktop.invalid.flatten_dim.frag | ||
multiindex.flatten.vert | ||
push-constant.flatten.vert | ||
rowmajor.flatten.vert | ||
struct.flatten.vert | ||
struct.rowmajor.flatten.vert | ||
swizzle.flatten.vert | ||
types.flatten.frag |