ComputeCopyToGPU records command to copy given regions in the Storage buffer memory from CPU to GPU, in one call. Use SyncRegValueIndexFromCPU to get the regions.
(cmd vk.CommandBuffer, regs ...MemReg)
| 120 | // in the Storage buffer memory from CPU to GPU, in one call. |
| 121 | // Use SyncRegValueIndexFromCPU to get the regions. |
| 122 | func (sy *System) ComputeCopyToGPU(cmd vk.CommandBuffer, regs ...MemReg) { |
| 123 | sy.Mem.CmdTransferStorageRegsToGPU(cmd, regs) |
| 124 | } |
| 125 | |
| 126 | // ComputeCopyFromGPU records command to copy given regions |
| 127 | // in the Storage buffer memory from GPU to CPU, in one call. |
nothing calls this directly
no test coverage detected