SPIRV-Cross/reference/shaders-msl-no-opt/asm/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
..
initializers-block.mask-location-0.msl2.asm.tesc MSL: Fix initialization of masked threadgroup variables. 2021-04-19 12:10:49 +02:00
initializers-block.mask-location-0.multi-patch.msl2.asm.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
initializers-block.mask-location-1.msl2.asm.tesc MSL: Fix initialization of masked threadgroup variables. 2021-04-19 12:10:49 +02:00
initializers-block.mask-location-1.multi-patch.msl2.asm.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
initializers-block.mask-point-size.msl2.asm.tesc MSL: Use spvUnsafeArray for builtin arrays after all. 2021-04-19 12:10:49 +02:00
initializers-block.mask-point-size.multi-patch.msl2.asm.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
initializers-block.mask-position.msl2.asm.tesc MSL: Use spvUnsafeArray for builtin arrays after all. 2021-04-19 12:10:49 +02:00
initializers-block.mask-position.multi-patch.msl2.asm.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
initializers.mask-location-0.msl2.asm.tesc MSL: Use spvUnsafeArray for builtin arrays after all. 2021-04-19 12:10:49 +02:00
initializers.mask-location-0.msl2.multi-patch.asm.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
initializers.mask-location-1.asm.tesc MSL: Use spvUnsafeArray for builtin arrays after all. 2021-04-19 12:10:49 +02:00
initializers.mask-location-1.multi-patch.asm.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
initializers.mask-point-size.msl2.asm.tesc MSL: Use spvUnsafeArray for builtin arrays after all. 2021-04-19 12:10:49 +02:00
initializers.mask-point-size.msl2.multi-patch.asm.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
initializers.mask-position.msl2.asm.tesc MSL: Use spvUnsafeArray for builtin arrays after all. 2021-04-19 12:10:49 +02:00
initializers.mask-position.msl2.multi-patch.asm.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