SPIRV-Cross/reference/opt/shaders
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
..
amd Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
asm Add simple test for extended debug operations. 2019-07-05 10:44:30 +02:00
comp MSL/HLSL: Support OpOuterProduct. 2019-07-01 10:57:27 +02:00
desktop-only GLSL: Support GL_ARB_shader_stencil_export. 2019-06-12 10:06:54 +02:00
flatten Update glslang and SPIRV-Tools. 2018-09-27 11:10:22 +02:00
frag Update external repos. 2019-07-13 16:50:21 -05:00
geom Update tests for latest SPIRV-Tools and glslang. 2018-03-12 15:11:55 +01:00
legacy Support fma() in older GLSL targets. 2019-04-08 10:38:32 +02:00
tesc Update to latest glslang/SPIRV-Tools. 2019-01-30 13:41:57 +01:00
tese Fix input array size in tessellation evaluation shaders. 2019-01-09 10:47:16 +01:00
vert Update to latest glslang/SPIRV-Tools. 2019-01-30 13:41:57 +01:00
vulkan Support the SPV_EXT_demote_to_helper_invocation extension. 2019-07-17 09:12:22 -05:00