SPIRV-Cross/reference/shaders
Chip Davis 1df47db6ba Support the SPV_KHR_post_depth_coverage extension.
Using the `PostDepthCoverage` mode specifies that the `gl_SampleMaskIn`
variable is to contain the computed coverage mask following the early
fragment tests, which this mode requires and implicitly enables.

Note that unlike Vulkan and OpenGL, Metal places this on the sample mask
input itself, and furthermore does *not* implicitly enable early
fragment testing. If it isn't enabled explicitly with an
`[[early_fragment_tests]]` attribute, the compiler will error out. So we
have to enable that mode explicitly if `PostDepthCoverage` is enabled
but `EarlyFragmentTests` isn't.

For Metal, only iOS supports this; for some reason, Apple has yet to
implement it on macOS, even though many desktop cards support it.
2019-07-11 10:28:43 -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 Support the SPV_KHR_post_depth_coverage extension. 2019-07-11 10:28:43 -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 Fix storage packing qualifiers missing on "shaderRecordNV" buffers 2019-06-05 13:31:24 +02:00