diff --git a/crates/shaders/src/compile/msl.rs b/crates/shaders/src/compile/msl.rs index e02486ecf..4c7d2ccdd 100644 --- a/crates/shaders/src/compile/msl.rs +++ b/crates/shaders/src/compile/msl.rs @@ -43,7 +43,7 @@ pub fn translate(shader: &ShaderInfo) -> Result { spirv_cross_compatibility: false, fake_missing_bindings: false, bounds_check_policies: naga::proc::BoundsCheckPolicies::default(), - zero_initialize_workgroup_memory: false, + zero_initialize_workgroup_memory: true, }; let (source, _) = naga_msl::write_string( &shader.module,