SPIRV-Cross/reference/shaders-msl/masking
Lukas Taparauskas 72a2ec4c1b
MSL: Fix '--msl-multi-patch-workgroup' out of bounds reads when dispatching more threads than control points (#1662)
* Fix '--msl-multi-patch-workgroup' cases where thread count exceeds data bounds

*Fix gl_PrimitiveID off by one error when computing last valid index
*Point gl_out to the last patch's data when threads exceed input data bounds
*Point patchOut to the last patch's data when threads exceed input data bounds

* Update MSL test expectations.

* Undo change to MSL multi-patch hull output bound checks

* Update MSL multi-patch test expectations.
2021-04-29 20:01:26 +02:00
..
copy-arrays.mask-location-0.msl2.multi-patch.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
copy-arrays.mask-location-0.msl2.tesc MSL: Fix copy of arrays to/from stage IO variables. 2021-04-19 12:10:49 +02:00
copy-arrays.mask-location-1.msl2.multi-patch.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
copy-arrays.mask-location-1.msl2.tesc MSL: Fix copy of arrays to/from stage IO variables. 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.msl2.tesc MSL: Handle masking of TESC IO block members. 2021-04-19 12:10:49 +02:00
write-outputs-block.mask-location-0.multi-patch.msl2.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
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.msl2.tesc MSL: Handle masking of TESC IO block members. 2021-04-19 12:10:49 +02:00
write-outputs-block.mask-location-1.multi-patch.msl2.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
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: Don't emit native array for masked clip/cull distance. 2021-04-19 12:10:49 +02:00
write-outputs.mask-location-0.for-tess.vert MSL: Make builtin argument type declaration context sensitive. 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.multi-patch.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
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: Make builtin argument type declaration context sensitive. 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.multi-patch.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
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: Make builtin argument type declaration context sensitive. 2021-04-19 12:10:49 +02:00
write-outputs.mask-point-size.multi-patch.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
write-outputs.mask-point-size.tesc MSL: Use spvUnsafeArray for builtin arrays after all. 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.multi-patch.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
write-outputs.mask-position.tesc MSL: Use spvUnsafeArray for builtin arrays after all. 2021-04-19 12:10:49 +02:00