diff --git a/wgpu-core/src/resource.rs b/wgpu-core/src/resource.rs index d8fae8f370..f58ff8d793 100644 --- a/wgpu-core/src/resource.rs +++ b/wgpu-core/src/resource.rs @@ -2327,7 +2327,7 @@ impl Blas { // Clippy complains about this because it might not be intended, but // this is intentional. #[expect(clippy::single_range_in_vec_init)] - self.device.raw().flush_mapped_ranges( + self.device.raw().invalidate_mapped_ranges( compaction_buffer, &[0..size_of::() as wgt::BufferAddress], );