From 098c56ff7afc030bae4d57f029ede6f2b8efed4c Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Wed, 12 Jun 2024 21:30:41 -0400 Subject: [PATCH] CI issues --- wgpu-hal/src/lib.rs | 4 ++++ wgpu-hal/src/vulkan/device.rs | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wgpu-hal/src/lib.rs b/wgpu-hal/src/lib.rs index 0610d047cd..3cf0d8bc39 100644 --- a/wgpu-hal/src/lib.rs +++ b/wgpu-hal/src/lib.rs @@ -790,6 +790,10 @@ pub trait Queue: WasmNotSendSync { /// [cb]: Api::CommandBuffer /// [ce]: Api::CommandEncoder /// [st]: Api::SurfaceTexture + /// [t]: Api::Texture + /// [bg]: Api::BindGroup + /// [rp]: Api::RenderPipeline + /// [d]: Api::Device unsafe fn submit( &self, command_buffers: &[&::CommandBuffer], diff --git a/wgpu-hal/src/vulkan/device.rs b/wgpu-hal/src/vulkan/device.rs index 759d33b21a..c26c83dc28 100644 --- a/wgpu-hal/src/vulkan/device.rs +++ b/wgpu-hal/src/vulkan/device.rs @@ -2341,9 +2341,7 @@ impl super::DeviceShared { } else { match active.iter().find(|&&(value, _)| value >= wait_value) { Some(&(_, raw)) => { - match unsafe { - self.raw.wait_for_fences(&[raw], true, timeout_ns) - } { + match unsafe { self.raw.wait_for_fences(&[raw], true, timeout_ns) } { Ok(()) => Ok(true), Err(vk::Result::TIMEOUT) => Ok(false), Err(other) => Err(other.into()),