| 213 | } |
| 214 | |
| 215 | void cgpu_free_fence(CGPUFenceId fence) |
| 216 | { |
| 217 | cgpu_assert(fence != CGPU_NULLPTR && "fatal: call on NULL fence!"); |
| 218 | cgpu_assert(fence->device != CGPU_NULLPTR && "fatal: call on NULL device!"); |
| 219 | const CGPUProcFreeFence fn_free_fence = fence->device->proc_table_cache->free_fence; |
| 220 | cgpu_assert(fn_free_fence && "free_fence Proc Missing!"); |
| 221 | fn_free_fence(fence); |
| 222 | } |
| 223 | |
| 224 | CGPUSemaphoreId cgpu_create_semaphore(CGPUDeviceId device) |
| 225 | { |
no outgoing calls
no test coverage detected