submit_batch

Function submit_batch 

Source
pub unsafe fn submit_batch(
    queue: VkQueue,
    fence: VkFence,
) -> Result<u64, IcdError>
Expand description

Submit the current batch

ยงSafety

This function is unsafe because:

  • The queue must be a valid VkQueue handle
  • The fence (if not NULL) must be a valid VkFence handle
  • All command buffers in the batch must be in executable state
  • Calls vkQueueSubmit with timeline semaphore info
  • The queue must not be in use by another thread
  • Timeline semaphore operations require proper synchronization