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

@@ -9,8 +9,14 @@
#ifndef PULSE_METAL_COMPUTE_PASS_H_
#define PULSE_METAL_COMPUTE_PASS_H_
#include <Metal/Metal.h>
#include "Metal.h"
typedef struct MetalComputePass
{
id<MTLComputeCommandEncoder> encoder;
} MetalComputePass;
PulseComputePass MetalCreateComputePass(PulseDevice device, PulseCommandList cmd);
void MetalDestroyComputePass(PulseDevice device, PulseComputePass pass);