adding command list to metal backend

This commit is contained in:
2025-09-08 00:04:49 +02:00
parent 9c2f644b0e
commit 287f18402e
9 changed files with 77 additions and 23 deletions

View File

@@ -50,6 +50,12 @@ int main(void)
info.num_readwrite_storage_buffers = 1;
PulseComputePipeline pipeline = PulseCreateComputePipeline(device, &info);
PulseFence fence = PulseCreateFence(device);
PulseCommandList cmd = PulseRequestCommandList(device, PULSE_COMMAND_LIST_GENERAL);
PulseReleaseCommandList(device, cmd);
PulseDestroyFence(device, fence);
PulseDestroyComputePipeline(device, pipeline);
}