update some loader stuff

This commit is contained in:
Gregory Wells
2025-07-29 06:08:23 -04:00
parent 3f1901da8c
commit e31bb3ab3b
4 changed files with 6 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#include "stdint.h"
#include "utils/gryphn_error_code.h"
#include "core/gryphn_error_code.h"
#include "gryphn_handles.h"
typedef struct gnRenderPassInfo gnRenderPassInfo;

View File

@@ -1,7 +1,7 @@
#pragma once
#include "stdint.h"
#include "stdlib.h"
#include "utils/gryphn_error_code.h"
#include "core/gryphn_error_code.h"
#include "gryphn_handles.h"
typedef struct gnPresentationQueueInfo gnPresentationQueueInfo;

View File

@@ -1,10 +1,10 @@
#pragma once
#include "stdint.h"
#include "utils/gryphn_error_code.h"
#include "core/gryphn_error_code.h"
#include "utils/gryphn_bool.h"
#include "gryphn_handles.h"
typedef struct gnInstanceInfo gnInstanceInfo;
typedef struct gnInstanceCreateInfo gnInstanceCreateInfo;
typedef struct gnSurfaceDetails gnSurfaceDetails;
typedef struct gnOutputDeviceInfo gnOutputDeviceInfo;
@@ -19,7 +19,7 @@ typedef struct gnOutputDeviceInfo gnOutputDeviceInfo;
#endif
typedef struct gnInstanceFunctions {
gnReturnCode (*_gnCreateInstance)(gnInstanceHandle instance, gnInstanceInfo info);
gnReturnCode (*_gnCreateInstance)(gnInstanceHandle instance, gnInstanceCreateInfo* info);
void (*_gnDestroyInstance)(gnInstanceHandle instance);
gnPhysicalDevice* (*_gnGetPhysicalDevices)(gnInstanceHandle instance, uint32_t* count);

View File

@@ -31,3 +31,4 @@ void resetLayer(gnInstance instance);
gnSyncExtFunctions loadAPISyncFunctions(gnRenderingAPI api);
gnQueueExtFunctions loadAPIQueueFunctions(gnRenderingAPI api);