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,15 +9,14 @@
#ifndef PULSE_METAL_COMMAND_LIST_H_
#define PULSE_METAL_COMMAND_LIST_H_
#include <stdatomic.h>
#include <tinycthread.h>
#include <Metal/Metal.h>
#include "Metal.h"
#include "MetalFence.h"
typedef struct MetalCommandList
{
int dummy;
id<MTLCommandBuffer> cmd;
id<MTLBlitCommandEncoder> copy_encoder;
} MetalCommandList;
PulseCommandList MetalRequestCommandList(PulseDevice device, PulseCommandListUsage usage);