SPIRV-Cross/reference/shaders-msl/masking
Hans-Kristian Arntzen 46c48ee6b5 MSL: Rewrite how IO blocks are emitted in multi-patch mode.
Firstly, never flatten inputs or outputs in multi-patch mode.
The main scenario where we do need to care is Block IO.
In this case, we should only flatten the top-level member, and after
that we use access chains as normal.

Using structs in Input storage class is now possible as well. We don't
need to consider per-location fixups at all here. In Vulkan, IO structs
must match exactly. Only plain vectors can have smaller vector sizes as
a special case.
2021-04-19 12:10:49 +02:00
..
write-outputs-block.mask-location-0.for-tess.vert MSL: Always emit block variable for block types. 2021-04-19 12:10:49 +02:00
write-outputs-block.mask-location-0.vert MSL: Fix masking of vertex block outputs. 2021-04-19 12:10:49 +02:00
write-outputs-block.mask-location-1.for-tess.vert MSL: Always emit block variable for block types. 2021-04-19 12:10:49 +02:00
write-outputs-block.mask-location-1.vert MSL: Fix masking of vertex block outputs. 2021-04-19 12:10:49 +02:00
write-outputs.mask-clip-distance.vert MSL: Force builtin arrays for builtin array types. 2021-04-19 12:10:49 +02:00
write-outputs.mask-location-0.for-tess.vert MSL: Rewrite how IO blocks are emitted in multi-patch mode. 2021-04-19 12:10:49 +02:00
write-outputs.mask-location-0.msl2.tesc MSL: Do not perform scalar fixups for control-point outputs. 2021-04-19 12:10:49 +02:00
write-outputs.mask-location-0.tesc MSL: Handle masking of builtin control points. 2021-04-19 12:10:49 +02:00
write-outputs.mask-location-0.vert MSL: Add tests for vertex output masking. 2021-04-19 12:10:49 +02:00
write-outputs.mask-location-1.for-tess.vert MSL: Rewrite how IO blocks are emitted in multi-patch mode. 2021-04-19 12:10:49 +02:00
write-outputs.mask-location-1.msl2.tesc MSL: Test that we can mask location writes in TESC. 2021-04-19 12:10:49 +02:00
write-outputs.mask-location-1.tesc MSL: Handle masking of builtin control points. 2021-04-19 12:10:49 +02:00
write-outputs.mask-location-1.vert MSL: Add tests for vertex output masking. 2021-04-19 12:10:49 +02:00
write-outputs.mask-point-size.for-tess.vert MSL: Rewrite how IO blocks are emitted in multi-patch mode. 2021-04-19 12:10:49 +02:00
write-outputs.mask-point-size.tesc MSL: Handle masking of builtin control points. 2021-04-19 12:10:49 +02:00
write-outputs.mask-point-size.vert MSL: Add tests for vertex output masking. 2021-04-19 12:10:49 +02:00
write-outputs.mask-position.tesc MSL: Handle masking of builtin control points. 2021-04-19 12:10:49 +02:00