ComputeSubmitWait submits the current set of commands in the default system CmdPool, typically from ComputeDispatch. Then waits for the commands to finish before returning control to the CPU. Results will be available immediately thereafter for retrieving back from the GPU.
(cmd vk.CommandBuffer)
| 199 | // control to the CPU. Results will be available immediately |
| 200 | // thereafter for retrieving back from the GPU. |
| 201 | func (sy *System) ComputeSubmitWait(cmd vk.CommandBuffer) { |
| 202 | CmdSubmitWait(cmd, &sy.Device) |
| 203 | } |
| 204 | |
| 205 | // ComputeCmdEnd adds an end to given command buffer |
| 206 | func (sy *System) ComputeCmdEnd(cmd vk.CommandBuffer) { |