mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-28 00:59:12 +01:00
CI issues
This commit is contained in:
2 files changed
+5
-3
No files matched your search
@@ -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()),
|
||||
|
||||
Reference in new issue
Block a user