diff --git a/wgpu-native/src/device.rs b/wgpu-native/src/device.rs index 79f31ba846..fcb590293c 100644 --- a/wgpu-native/src/device.rs +++ b/wgpu-native/src/device.rs @@ -1672,7 +1672,7 @@ pub fn device_create_render_pipeline( Some(hal::pso::Multisampling { rasterization_samples: sc, sample_shading: None, - sample_mask: !0, + sample_mask: desc.sample_mask as u64, alpha_coverage: desc.alpha_to_coverage_enabled, alpha_to_one: false, })