| 231 | } |
| 232 | |
| 233 | void cgpu_free_semaphore(CGPUSemaphoreId semaphore) |
| 234 | { |
| 235 | cgpu_assert(semaphore != CGPU_NULLPTR && "fatal: call on NULL semaphore!"); |
| 236 | cgpu_assert(semaphore->device != CGPU_NULLPTR && "fatal: call on NULL device!"); |
| 237 | const CGPUProcFreeSemaphore fn_free_semaphore = semaphore->device->proc_table_cache->free_semaphore; |
| 238 | cgpu_assert(fn_free_semaphore && "free_semaphore Proc Missing!"); |
| 239 | fn_free_semaphore(semaphore); |
| 240 | } |
| 241 | |
| 242 | CGPURootSignatureId cgpu_create_root_signature(CGPUDeviceId device, const struct CGPURootSignatureDescriptor* desc) |
| 243 | { |