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: Implement MSL 3.1 image atomics natively #2235

Merged
merged 5 commits into from
Nov 29, 2023
Merged

Conversation

HansKristian-Work
Copy link
Contributor

@HansKristian-Work HansKristian-Work commented Nov 28, 2023

Current CI does not have Metal 3.1 support, but I added support for testing against the Windows tooling, and it passes with that.

Fix #2212.

@HansKristian-Work HansKristian-Work force-pushed the fix-2212 branch 2 times, most recently from 8aae9c1 to f8d5a1f Compare November 28, 2023 15:27
The check_discard code was too annoying to deal with,
and there is no requirement to return anything meaningful.
Vulkan specs state that values returned by atomic instructions are undefined.
@HansKristian-Work HansKristian-Work marked this pull request as ready for review November 29, 2023 13:22
@HansKristian-Work HansKristian-Work merged commit a3da0e8 into main Nov 29, 2023
5 checks passed
@HansKristian-Work HansKristian-Work deleted the fix-2212 branch November 29, 2023 13:48
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.

MSL: cross-compilation issues for shaders with atomic operations.
1 participant