From 3035dee9f14402f57d42ff0b362152140b4dca13 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Mon, 30 Jan 2023 15:14:16 +0100 Subject: chore: update webgpu (#17534) --- ext/webgpu/src/render_pass.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/webgpu/src/render_pass.rs') diff --git a/ext/webgpu/src/render_pass.rs b/ext/webgpu/src/render_pass.rs index 85440b18d..ee38091bc 100644 --- a/ext/webgpu/src/render_pass.rs +++ b/ext/webgpu/src/render_pass.rs @@ -254,8 +254,8 @@ pub fn op_webgpu_render_pass_set_bind_group( // Align the data assert_eq!(dynamic_offsets_data_start % std::mem::size_of::(), 0); let (prefix, dynamic_offsets_data, suffix) = - // SAFETY: A u8 to u32 cast is safe because we asserted that the length is a - // multiple of 4. + // SAFETY: A u8 to u32 cast is safe because we asserted that the length is a + // multiple of 4. unsafe { dynamic_offsets_data.align_to::() }; assert!(prefix.is_empty()); assert!(suffix.is_empty()); -- cgit v1.2.3