SPIRV-Cross/reference/opt/shaders/legacy/vert
Hans-Kristian Arntzen 18bcc9b790 Do not disable temporary forwarding when we suppress usage tracking.
This subtle bug removed any expression validation for trivially swizzled
variables. Make usage suppression a more explicit concept rather than
just hacking off forwarded_temporaries.

There is some fallout here with loop generation since our expression
invalidation is currently a bit too naive to handle loops properly.
The forwarding bug masked this problem until now.

If part of the loop condition is also used in the body, we end up
reading an invalid expression, which in turn forces a temporary to be
generated in the condition block, not good. We'll need to be smarter
here ...
2019-07-23 19:18:44 +02:00
..
implicit-lod.legacy.vert Add reference output for --opt. 2017-11-23 09:50:11 +01:00
io-block.legacy.vert Update tests for struct flattening. 2018-01-09 10:40:34 +01:00
struct-varying.legacy.vert Do not disable temporary forwarding when we suppress usage tracking. 2019-07-23 19:18:44 +02:00
transpose.legacy.vert Add reference output for --opt. 2017-11-23 09:50:11 +01:00