MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / cgpu_free_semaphore

Function cgpu_free_semaphore

modules/engine/graphics/src/common/cgpu.c:233–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void 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
242CGPURootSignatureId cgpu_create_root_signature(CGPUDeviceId device, const struct CGPURootSignatureDescriptor* desc)
243{

Callers 3

finalizeFunction · 0.85
finalizeFunction · 0.85
finalizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected