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

Function cgpu_cmd_end

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

Source from the content-addressed store, hash-verified

742}
743
744void cgpu_cmd_end(CGPUCommandBufferId cmd)
745{
746 cgpu_assert(cmd != CGPU_NULLPTR && "fatal: call on NULL cmdbuffer!");
747 cgpu_assert(cmd->device != CGPU_NULLPTR && "fatal: call on NULL device!");
748 const CGPUProcCmdEnd fn_cmd_end = cmd->device->proc_table_cache->cmd_end;
749 cgpu_assert(fn_cmd_end && "cmd_end Proc Missing!");
750 fn_cmd_end(cmd);
751}
752
753// Compute CMDs
754CGPUComputePassEncoderId cgpu_cmd_begin_compute_pass(CGPUCommandBufferId cmd, const struct CGPUComputePassDescriptor* desc)

Callers 15

endMethod · 0.85
addUploadRequestsMethod · 0.85
executeMethod · 0.85
imgui_create_fontsFunction · 0.85
updateMethod · 0.85
raster_redrawFunction · 0.85
raster_redrawFunction · 0.85
create_sampled_textureFunction · 0.85
raster_redrawFunction · 0.85
ComputeFuncFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_allMethod · 0.68