SPIRV-Cross/reference/opt
Chip Davis 12a8654784 Don't forward uses of an OpIsHelperInvocationEXT op.
If this is computed *before* a `demote`, but used *after*, forwarding it
will produce the wrong value. This does make for uglier shaders, but
it's necessary right now to ensure correctness.

I needed to use an assembly shader to produce the test for this.
`spirv-opt` is not smart enough (or too smart?) to eliminate the
variable that would be used in GLSL to express this.
2019-07-18 17:32:35 -05:00
..
shaders Don't forward uses of an OpIsHelperInvocationEXT op. 2019-07-18 17:32:35 -05:00
shaders-hlsl Support the SPV_EXT_demote_to_helper_invocation extension. 2019-07-17 09:12:22 -05:00
shaders-msl Don't forward uses of an OpIsHelperInvocationEXT op. 2019-07-18 17:32:35 -05:00