Skip to content

Commit

Permalink
CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed Jun 13, 2024
1 parent 812727d commit 098c56f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions wgpu-hal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: &[&<Self::A as Api>::CommandBuffer],
Expand Down
4 changes: 1 addition & 3 deletions wgpu-hal/src/vulkan/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit 098c56f

Please sign in to comment.