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: added mesh-shader support #2400

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

Try
Copy link
Contributor

@Try Try commented Oct 28, 2024

Rework of old #2074
Also made some changes to make diff smaller and also introduced SetMeshOutputsEXT wrapper, for sake of code-gen clarity.

Only mesh stage, for the sake of code-review. Task will be separated PR.
In tests taskPayloadSharedEXT is replaced to const; other than that test-cases are copied from HLSL

Note: shader-playground is down today - wasn't able to fully test output.
Tested shaders via shader-playground

Not supported in MSL:
gl_CullDistance, gl_PrimitiveShadingRateEXT

Fixup type of gl_CullPrimitiveEXT:
short -> bool
@HansKristian-Work
Copy link
Contributor

Looking at this locally now. Just going to do minor cleanups, but this is a far more palatable PR than the first one and it can probably land without too much controversy.

@HansKristian-Work HansKristian-Work merged commit bd8a160 into KhronosGroup:main Oct 30, 2024
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