SPIRV-Cross/reference/opt/shaders
Hans-Kristian Arntzen 03d93abc1a Deal with case where a variable is dominated by inner part of a loop.
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.
2019-06-06 11:11:44 +02:00
..
amd Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
asm Support emitting OpLine directive. 2019-05-28 13:44:24 +02:00
comp GLSL: Return correct sign for OpArrayLength. 2019-05-07 19:02:32 +02:00
desktop-only Always value-cast FP16 constants instead of using literals. 2019-02-20 12:30:01 +01:00
flatten Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
frag Deal with case where a variable is dominated by inner part of a loop. 2019-06-06 11:11:44 +02:00
geom Update tests for latest SPIRV-Tools and glslang. 2018-03-12 15:11:55 +01:00
legacy Support fma() in older GLSL targets. 2019-04-08 10:38:32 +02:00
tesc Update to latest glslang/SPIRV-Tools. 2019-01-30 13:41:57 +01:00
tese Fix input array size in tessellation evaluation shaders. 2019-01-09 10:47:16 +01:00
vert Update to latest glslang/SPIRV-Tools. 2019-01-30 13:41:57 +01:00
vulkan Deal with case where a variable is dominated by inner part of a loop. 2019-06-06 11:11:44 +02:00