SPIRV-Cross/reference/shaders-msl
Bill Hollings 248e9ae9ed MSL: Don't output depth and stencil values with explicit early fragment tests.
Fragment shaders that require explicit early fragment tests are incompatible
with specifying depth and stencil values within the shader. If explicit early
fragment tests is specified, remove the depth and stencil outputs from the
output structure, and replace them with dummy local variables.

Add CompilerMSL:uses_explicit_early_fragment_test() function to consolidate
testing for whether early fragment tests are required.

Add two unit tests for depth-out with, and without, early fragment tests.
2021-11-12 14:17:00 -05:00
..
amd Updates for pull request #1162 2019-09-24 14:35:25 -04:00
asm Separate (partially) the tracking of depth images from depth compare ops. 2021-11-08 15:59:45 -05:00
comp MSL: Workaround compiler crashes when using threadgroup bool. 2021-10-25 10:55:11 +02:00
desktop-only MSL: Fix '--msl-multi-patch-workgroup' out of bounds reads when dispatching more threads than control points (#1662) 2021-04-29 20:01:26 +02:00
flatten MSL: Selectively enable fast-math in MSL code to match Vulkan CTS results. 2021-09-22 18:58:31 -04:00
frag MSL: Don't output depth and stencil values with explicit early fragment tests. 2021-11-12 14:17:00 -05:00
intel Updates for pull request #1162 2019-09-24 14:35:25 -04:00
legacy/vert Updates for pull request #1162 2019-09-24 14:35:25 -04:00
masking MSL: Support synthetic functions in function constants. 2021-09-28 19:10:16 -04:00
tesc MSL: Fix '--msl-multi-patch-workgroup' out of bounds reads when dispatching more threads than control points (#1662) 2021-04-29 20:01:26 +02:00
tese MSL: Use proper array for quad tess levels. 2021-04-23 14:12:00 +02:00
vert MSL: Remove over-zealous check for struct packing compatibility. 2021-10-28 19:36:32 -04:00
vulkan MSL: Support SPV_EXT_demote_to_helper_invocation for MSL 2.3. 2020-10-13 00:25:32 -05:00