From e31bb3ab3b37b36091f0fa221507ddba867b69ac Mon Sep 17 00:00:00 2001 From: Gregory Wells Date: Tue, 29 Jul 2025 06:08:23 -0400 Subject: [PATCH] update some loader stuff --- projects/loader/src/gryphn_command_functions.h | 2 +- projects/loader/src/gryphn_device_functions.h | 2 +- projects/loader/src/gryphn_instance_functions.h | 6 +++--- projects/loader/src/gryphn_loader.h | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/projects/loader/src/gryphn_command_functions.h b/projects/loader/src/gryphn_command_functions.h index 6e35bf6..ee122e5 100644 --- a/projects/loader/src/gryphn_command_functions.h +++ b/projects/loader/src/gryphn_command_functions.h @@ -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; diff --git a/projects/loader/src/gryphn_device_functions.h b/projects/loader/src/gryphn_device_functions.h index c6877fe..ade652c 100644 --- a/projects/loader/src/gryphn_device_functions.h +++ b/projects/loader/src/gryphn_device_functions.h @@ -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; diff --git a/projects/loader/src/gryphn_instance_functions.h b/projects/loader/src/gryphn_instance_functions.h index 9322293..3d45a64 100644 --- a/projects/loader/src/gryphn_instance_functions.h +++ b/projects/loader/src/gryphn_instance_functions.h @@ -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); diff --git a/projects/loader/src/gryphn_loader.h b/projects/loader/src/gryphn_loader.h index 213d4f0..7dd77c4 100644 --- a/projects/loader/src/gryphn_loader.h +++ b/projects/loader/src/gryphn_loader.h @@ -31,3 +31,4 @@ void resetLayer(gnInstance instance); gnSyncExtFunctions loadAPISyncFunctions(gnRenderingAPI api); +gnQueueExtFunctions loadAPIQueueFunctions(gnRenderingAPI api);