SPIRV-Cross/reference/opt/shaders-msl/desktop-only
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
..
comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
frag Updates for pull request #1162 2019-09-24 14:35:25 -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 Updates for pull request #1162 2019-09-24 14:35:25 -04:00
vert MSL: Add support for processing more than one patch per workgroup. 2020-07-23 17:59:54 -05:00