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

Function cgpu_free_fence

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

Source from the content-addressed store, hash-verified

213}
214
215void 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
224CGPUSemaphoreId cgpu_create_semaphore(CGPUDeviceId device)
225{

Callers 15

main_module_execMethod · 0.85
cgpu_free_queue_vulkanFunction · 0.85
finishMethod · 0.85
finalizeMethod · 0.85
imguir_destroy_windowFunction · 0.85
~SkrRenderWindowMethod · 0.85
finalizeFunction · 0.85
finalizeFunction · 0.85
finalizeFunction · 0.85
finalizeFunction · 0.85
finalizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected