SPIRV-Cross/shaders-msl-no-opt
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
..
asm Do not disable temporary forwarding when we suppress usage tracking. 2019-07-23 19:18:44 +02:00
comp Test glsl.std450 more exhaustively. 2019-07-17 11:53:05 +02:00
frag Pass the swizzle constants as a buffer. 2018-09-22 19:36:11 -05:00
packing Add test for array of scalar struct. 2019-07-23 15:30:03 +02:00
vert MSL: Fix case where we pass arrays to functions by value. 2019-01-14 11:00:14 +01:00
vulkan/frag MSL: Fix passing a sampled image to a function. 2019-01-14 09:29:31 -06:00