Skip to content

Commit 098c56f

Browse files
committed
CI issues
1 parent 812727d commit 098c56f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

wgpu-hal/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,10 @@ pub trait Queue: WasmNotSendSync {
790790
/// [cb]: Api::CommandBuffer
791791
/// [ce]: Api::CommandEncoder
792792
/// [st]: Api::SurfaceTexture
793+
/// [t]: Api::Texture
794+
/// [bg]: Api::BindGroup
795+
/// [rp]: Api::RenderPipeline
796+
/// [d]: Api::Device
793797
unsafe fn submit(
794798
&self,
795799
command_buffers: &[&<Self::A as Api>::CommandBuffer],

wgpu-hal/src/vulkan/device.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2341,9 +2341,7 @@ impl super::DeviceShared {
23412341
} else {
23422342
match active.iter().find(|&&(value, _)| value >= wait_value) {
23432343
Some(&(_, raw)) => {
2344-
match unsafe {
2345-
self.raw.wait_for_fences(&[raw], true, timeout_ns)
2346-
} {
2344+
match unsafe { self.raw.wait_for_fences(&[raw], true, timeout_ns) } {
23472345
Ok(()) => Ok(true),
23482346
Err(vk::Result::TIMEOUT) => Ok(false),
23492347
Err(other) => Err(other.into()),

0 commit comments

Comments
 (0)