| 181 | } |
| 182 | |
| 183 | CGPUFenceId cgpu_create_fence(CGPUDeviceId device) |
| 184 | { |
| 185 | cgpu_assert(device != CGPU_NULLPTR && "fatal: call on NULL device!"); |
| 186 | cgpu_assert(device->proc_table_cache->create_fence && "create_fence Proc Missing!"); |
| 187 | CGPUFence* fence = (CGPUFence*)device->proc_table_cache->create_fence(device); |
| 188 | fence->device = device; |
| 189 | return fence; |
| 190 | } |
| 191 | |
| 192 | void cgpu_wait_fences(const CGPUFenceId* fences, uint32_t fence_count) |
| 193 | { |
no outgoing calls
no test coverage detected