SPIRV-Cross/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 Rewrite everything to use Bitset rather than uint64_t. 2018-03-12 13:24:14 +01: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 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 Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
tese Fix input array size in tessellation evaluation shaders. 2019-01-09 10:47:16 +01:00
vert Handle invariant decoration more robustly. 2018-11-22 11:55:57 +01:00
vulkan Fix storage packing qualifiers missing on "shaderRecordNV" buffers 2019-06-05 13:31:24 +02:00