SPIRV-Cross/shaders-msl/tese
Chip Davis c0760eb91f MSL: Fix patch vertex count with raw buffer tese input.
We can no longer rely on the `patch_control_point<>` array being
present, so the best we can do is use the value given us at compile
time.

This was an oversight on my part when I initially implemented the
raw-buffer tessellation evaluation input mode. The lack of tests for the
`PatchVertices` built-in almost certainly contributed, so I fixed that
in this patch.

Fixes the test
`dEQP-VK.tessellation.shader_input_output.patch_vertices_in_tes`. This
is the last failing test under `dEQP-VK.tessellation`.
2023-12-04 14:24:16 -08:00
..
in-array-of-struct.raw-tess-in.tese MSL: Support "raw" buffer input in tessellation evaluation shaders. 2022-10-18 14:58:59 -07:00
in-block-with-nested-struct.raw-tess-in.tese MSL: Support "raw" buffer input in tessellation evaluation shaders. 2022-10-18 14:58:59 -07:00
in-block-with-nested-struct.tese MSL: Fix var names in test shaders to avoid reserved identifiers. 2022-03-03 10:19:04 +01:00
input-array.tese MSL: Add support for tessellation evaluation shaders. 2019-02-14 10:00:08 -06:00
input-types.raw-tess-in.tese MSL: Support "raw" buffer input in tessellation evaluation shaders. 2022-10-18 14:58:59 -07:00
input-types.tese Add a note that array-of-struct input needs fixing. 2019-02-15 17:33:21 -06:00
load-control-point-array-of-matrix.tese MSL: Rewrite tessellation_access_chain. 2019-10-26 16:10:12 +02:00
load-control-point-array.tese MSL: Rewrite tessellation_access_chain. 2019-10-26 16:10:12 +02:00
quad.domain.tese MSL: Add an option to set the tessellation domain origin. 2019-02-18 14:25:42 -06:00
quad.tese MSL: Use vectors for the tessellation level builtins in tese shaders. 2019-02-22 12:18:51 -06:00
read-patch-vertices-in-func.raw-tess-in.tese MSL: Fix patch vertex count with raw buffer tese input. 2023-12-04 14:24:16 -08:00
read-tess-level-in-func-quad.msl2.tese MSL: Use proper array for quad tess levels. 2021-04-23 14:12:00 +02:00
read-tess-level-in-func-quad.raw-tess-in.msl2.tese MSL: Support "raw" buffer input in tessellation evaluation shaders. 2022-10-18 14:58:59 -07:00
read-tess-level-in-func.msl2.tese MSL: Use proper array for quad tess levels. 2021-04-23 14:12:00 +02:00
read-tess-level-in-func.raw-tess-in.msl2.tese MSL: Support "raw" buffer input in tessellation evaluation shaders. 2022-10-18 14:58:59 -07:00
set-from-function.tese Handle blocks of patch I/O. 2019-02-15 17:21:38 -06:00
triangle-tess-level.tese MSL: Use vectors for the tessellation level builtins in tese shaders. 2019-02-22 12:18:51 -06:00
triangle.tese MSL: Add support for tessellation evaluation shaders. 2019-02-14 10:00:08 -06:00
water_tess.raw-tess-in.tese MSL: Support "raw" buffer input in tessellation evaluation shaders. 2022-10-18 14:58:59 -07:00
water_tess.tese MSL: Add support for tessellation evaluation shaders. 2019-02-14 10:00:08 -06:00