CI issues

This commit is contained in:
Connor Fitzgerald committed 2024-06-12 21:30:41 -04:00
1 parent 812727d888
commit 098c56ff7a
2 files changed
+5 -3

No files matched your search

+4
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],
+1 -3
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()),