File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 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 {
790790 /// [cb]: Api::CommandBuffer
791791 /// [ce]: Api::CommandEncoder
792792 /// [st]: Api::SurfaceTexture
793+ /// [t]: Api::Texture
794+ /// [bg]: Api::BindGroup
795+ /// [rp]: Api::RenderPipeline
796+ /// [d]: Api::Device
793797 unsafe fn submit (
794798 & self ,
795799 command_buffers : & [ & <Self :: A as Api >:: CommandBuffer ] ,
Original file line number Diff line number Diff line change @@ -2341,9 +2341,7 @@ impl super::DeviceShared {
23412341 } else {
23422342 match active. iter ( ) . find ( |& & ( value, _) | value >= wait_value) {
23432343 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) } {
23472345 Ok ( ( ) ) => Ok ( true ) ,
23482346 Err ( vk:: Result :: TIMEOUT ) => Ok ( false ) ,
23492347 Err ( other) => Err ( other. into ( ) ) ,
You can’t perform that action at this time.
0 commit comments