SPIRV-Cross/reference/shaders/flatten
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
..
array.flatten.vert Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
basic.flatten.vert Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
copy.flatten.vert Deal with case where a variable is dominated by inner part of a loop. 2019-06-06 11:11:44 +02:00
dynamic.flatten.vert Add some tests for LUT promotion. 2018-07-05 14:14:18 +02:00
matrix-conversion.flatten.frag Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
matrixindex.flatten.vert Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
multi-dimensional.desktop.invalid.flatten_dim.frag Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
multiindex.flatten.vert Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
push-constant.flatten.vert Fixups to the flatten tests. 2017-01-21 12:39:16 +01:00
rowmajor.flatten.vert Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
struct.flatten.vert Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
struct.rowmajor.flatten.vert Fix a lot of redundant code when loading flattened composites. 2018-07-06 10:57:23 +02:00
swizzle.flatten.vert Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
types.flatten.frag Support int and uint as flattened UBO types. 2017-01-21 12:29:20 +01:00