mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
adding command list to metal backend
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user