File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -790,6 +790,10 @@ pub trait Queue: WasmNotSendSync {
790
790
/// [cb]: Api::CommandBuffer
791
791
/// [ce]: Api::CommandEncoder
792
792
/// [st]: Api::SurfaceTexture
793
+ /// [t]: Api::Texture
794
+ /// [bg]: Api::BindGroup
795
+ /// [rp]: Api::RenderPipeline
796
+ /// [d]: Api::Device
793
797
unsafe fn submit (
794
798
& self ,
795
799
command_buffers : & [ & <Self :: A as Api >:: CommandBuffer ] ,
Original file line number Diff line number Diff line change @@ -2341,9 +2341,7 @@ impl super::DeviceShared {
2341
2341
} else {
2342
2342
match active. iter ( ) . find ( |& & ( value, _) | value >= wait_value) {
2343
2343
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) } {
2347
2345
Ok ( ( ) ) => Ok ( true ) ,
2348
2346
Err ( vk:: Result :: TIMEOUT ) => Ok ( false ) ,
2349
2347
Err ( other) => Err ( other. into ( ) ) ,
You can’t perform that action at this time.
0 commit comments