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,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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user