giving up on this extension for now

This commit is contained in:
Greg Wells
2025-07-16 13:16:18 -04:00
parent 3474ce4288
commit b84786715d
10 changed files with 41 additions and 7 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#include "command/command_pool/gryphn_command_pool.h"
#include <gryphn_handles.h>
GN_HANDLE(gnQueuedCommandPool);
typedef struct gnQueuedCommandPoolInfo {
gnCommandPoolFlags flags;
uint32_t queueFamilyIndex;
} gnQueuedCommandPoolInfo;
#ifdef GN_REVEAL_IMPL
struct gnQueuedCommandPool_t {
struct gnPlatformCommandPool_t* commandPool;
gnDevice device;
gnInstance instance;
gnCommandPoolInfo info;
};
#endif
gnReturnCode gnCreateQueuedCommandPool(gnQueuedCommandPool* commandPool, gnDeviceHandle device, gnQueuedCommandPoolInfo info);
void gnDestroyQueuedCommandPool(gnQueuedCommandPool commandPool);

View File

@@ -2,9 +2,13 @@
#include "stdint.h"
#include "utils/gryphn_error_code.h"
#include "core/src/gryphn_handles.h"
#include "gryphn_queued_command_pool.h"
typedef struct gnQueueFamilyProperties gnQueueFamilyProperties;
typedef struct gnQueueExtFunctions {
gnReturnCode (*_gnGetPhysicalDeviceQueueProperties)(gnPhysicalOutputDeviceHandle device, uint32_t queueCount, gnQueueFamilyProperties* queues);
gnReturnCode (*_gnCreateQueuedCommandPool)(gnQueuedCommandPool* commandPool, gnDeviceHandle device, gnQueuedCommandPoolInfo info);
void (*_gnDestroyQueuedCommandPool)(gnQueuedCommandPool commandPool);
} gnQueueExtFunctions;