Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSL: Fix patch vertex count with raw buffer tese input. #2237

Merged

Conversation

cdavis5e
Copy link
Contributor

@cdavis5e cdavis5e commented Dec 4, 2023

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.

Copy link
Contributor

@HansKristian-Work HansKristian-Work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments

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`.
@HansKristian-Work HansKristian-Work merged commit 7c335ed into KhronosGroup:main Dec 5, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants