You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
[macOS / iOS] Use non atomic operation to store facing bits on MoltenVK.
This commit is contained in:
@@ -1757,7 +1757,11 @@ void main() {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef MOLTENVK_USED
|
||||
imageStore(geom_facing_grid, grid_pos, uvec4(imageLoad(geom_facing_grid, grid_pos).r | facing_bits)); //store facing bits
|
||||
#else
|
||||
imageAtomicOr(geom_facing_grid, grid_pos, facing_bits); //store facing bits
|
||||
#endif
|
||||
|
||||
if (length(emission) > 0.001) {
|
||||
float lumas[6];
|
||||
|
||||
Reference in New Issue
Block a user