ComputeCopyFromGPU records command to copy given regions in the Storage buffer memory from GPU to CPU, in one call. Use SyncRegValueIndexFromCPU to get the regions.
(cmd vk.CommandBuffer, regs ...MemReg)
| 127 | // in the Storage buffer memory from GPU to CPU, in one call. |
| 128 | // Use SyncRegValueIndexFromCPU to get the regions. |
| 129 | func (sy *System) ComputeCopyFromGPU(cmd vk.CommandBuffer, regs ...MemReg) { |
| 130 | sy.Mem.CmdTransferStorageRegsFromGPU(cmd, regs) |
| 131 | } |
| 132 | |
| 133 | // ComputeWaitMemWriteRead records pipeline barrier ensuring |
| 134 | // global memory writes from the shader have completed and are ready to read |
nothing calls this directly
no test coverage detected