submitAndAcquireFence

Sends the recorded work to the GPU and returns a fence that signals when it has finished. Release the fence with GpuDevice.release(fence) after waiting on it.

Throws

if submission fails.