SPIRV-Cross/reference/shaders
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
..
amd GLSL: Add more extension ladder fallbacks for unusual integer sizes. 2022-06-07 18:30:10 +02:00
asm GLSL: Emit inline invariant position for mesh shaders. 2023-08-17 12:45:54 +02:00
comp Add relax_nan_checks options. 2022-03-03 14:50:56 +01:00
desktop-only GLSL: Add more extension ladder fallbacks for unusual integer sizes. 2022-06-07 18:30:10 +02:00
flatten Move all .invalid shaders into no-opt folders. 2019-11-05 13:19:19 -05:00
frag Use --preserve-numeric-ids when assembling test shaders. 2023-06-23 14:54:16 -07:00
geom GLSL: Add support for transform_feedback3 geometry streams. 2020-09-30 13:01:35 +02:00
legacy GLSL: Fix expression reorder bug with legacy FMA fallback. 2023-03-30 17:24:11 +02:00
mesh GLSL: Implement GL_EXT_mesh_shader. 2022-09-05 11:25:04 +02:00
tesc Do not eagerly invalidate all active variables on a branch. 2019-07-24 11:17:30 +02:00
tese MSL: Fix patch vertex count with raw buffer tese input. 2023-12-04 14:24:16 -08:00
vert GLSL: Fix row-major workaround wrapper for ES. 2022-12-13 15:44:03 +01:00
vulkan GLSL: Use buffer_reference2 instead of 1. 2023-10-11 14:18:36 +02:00