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] Use storage buffers instead of unsupported images for the volumetric fog on MoltenVK. #55281

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Nov 24, 2021

Metal and MoltenVK do not support atomic operations on images, so use storage buffers instead.

Fixes fog shader compilation errors on macOS - #53353 (comment)

Screenshot 2021-11-24 at 09 28 27

Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

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

I can't test as I don't have an Apple device, but the implementation looks good!

@akien-mga akien-mga merged commit 3e33006 into godotengine:master Nov 24, 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.

3 participants