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

[macOS / iOS] Fix SDFGI shared compilation errors. #55307

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Nov 25, 2021

Use non-atomic operation to store facing bits on MoltenVK.

Since facing_grid image is used as an actual texture, the same treatment as in #55281 won't work, but the same shader is using imageStore to write another 3 images of the same type and size, and I was not able to measure any difference in performance. So it should be good enough, at least as the temporary solution.

Screen.Recording.2021-11-25.at.14.02.46.mov

@akien-mga akien-mga merged commit f28a79c into godotengine:master Nov 25, 2021
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants