SPIRV-Cross/shaders-hlsl
Chip Davis 50dce10c5d Support the SPV_EXT_demote_to_helper_invocation extension.
This extension provides a new operation which causes a fragment to be
discarded without terminating the fragment shader invocation. The
invocation for the discarded fragment becomes a helper invocation, so
that derivatives will remain defined. The old `HelperInvocation` builtin
becomes undefined when this occurs, so a second new instruction queries
the current helper invocation status.

This is only fully supported for GLSL. HLSL doesn't support the
`IsHelperInvocation` operation and MSL doesn't support the
`DemoteToHelperInvocation` op.

Fixes #1052.
2019-07-17 09:12:22 -05:00
..
asm Update external repos. 2019-07-13 16:50:21 -05:00
comp MSL/HLSL: Support OpOuterProduct. 2019-07-01 10:57:27 +02:00
frag Support the SPV_EXT_demote_to_helper_invocation extension. 2019-07-17 09:12:22 -05:00
vert Force recompile if we add row-major transpose functions in MSL. 2018-05-04 09:43:34 +02:00