get the metal backend to compile (does not load)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#import <Metal/Metal.h>
|
||||
#include "core/command/command_pool/gryphn_command_pool.h"
|
||||
#include "command/command_pool/gryphn_command_pool.h"
|
||||
|
||||
typedef struct gnPlatformCommandPool_t {
|
||||
id<MTLCommandQueue> commandQueue;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "metal_command_pool.h"
|
||||
#include "core/devices/metal_output_devices.h"
|
||||
#include "devices/metal_output_devices.h"
|
||||
|
||||
gnReturnCode gnCreateCommandPoolFn(struct gnCommandPool_t* commandPool, struct gnOutputDevice_t* device, struct gnCommandPoolInfo_t info) {
|
||||
gnReturnCode gnCreateCommandPoolFn(struct gnCommandPool_t* commandPool, struct gnOutputDevice_t* device, gnCommandPoolInfo info) {
|
||||
commandPool->commandPool = malloc(sizeof(struct gnPlatformCommandPool_t));
|
||||
commandPool->commandPool->commandQueue = [device->outputDevice->device newCommandQueue];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user