| 82 | } |
| 83 | |
| 84 | void GPUUploadCmd::start(SwapableCmdPool& swap_pool) SKR_NOEXCEPT |
| 85 | { |
| 86 | pool = swap_pool.get(); |
| 87 | CGPUCommandBufferDescriptor bdesc = { /*.is_secondary = */false }; |
| 88 | cmdbuf = cgpu_create_command_buffer(pool, &bdesc); |
| 89 | cgpu_cmd_begin(cmdbuf); |
| 90 | fence = cgpu_create_fence(queue->device); |
| 91 | } |
| 92 | |
| 93 | void GPUUploadCmd::finish() SKR_NOEXCEPT |
| 94 | { |
no test coverage detected