CI issues

This commit is contained in:
Connor Fitzgerald 2024-06-12 21:30:41 -04:00
parent 812727d888
commit 098c56ff7a
No known key found for this signature in database
GPG Key ID: 7D3FA445BAD3008D
2 changed files with 5 additions and 3 deletions

View File

@ -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],

View File

@ -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()),