mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 00:03:29 +00:00
CI issues
This commit is contained in:
parent
812727d888
commit
098c56ff7a
@ -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],
|
||||
|
@ -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()),
|
||||
|
Loading…
Reference in New Issue
Block a user