SPIRV-Cross/reference/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 Remove some stale test files. 2018-04-27 10:33:27 +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 Deal with case where a variable is dominated by inner part of a loop. 2019-06-06 11:11:44 +02:00
frag Update external repos. 2019-07-13 16:50:21 -05:00
geom Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02: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