Skip to content

Conversation

@pendevere
Copy link
Contributor

Passing a read_write storage texture (like clouds_render_texture) as an arg to a helper function can cause permission confusions in Metal. By moving into main function, compiler can easily see that the global variable has read_write permissions.

To remain in scope we must change from texture to clouds_render_texture.

Tested on: Metal, Windows Vulkan

Copy link
Owner

@evroon evroon left a comment

Choose a reason for hiding this comment

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

Thanks!

@evroon evroon enabled auto-merge (squash) November 26, 2025 11:00
@evroon evroon merged commit e44caa1 into evroon:master Nov 26, 2025
2 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