start using the dispatcher
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#pragma once
|
||||
#include "gryphn_instance_functions.h"
|
||||
#include "gryphn_device_functions.h"
|
||||
#include "gryphn_command_functions.h"
|
||||
#include "gryphn_loader_info.h"
|
||||
#include "utils/lists/gryphn_array_list.h"
|
||||
#include <Dispatcher/dispatcher.h>
|
||||
|
||||
#include "extensions/synchronization/loader/sync_functions.h"
|
||||
#include "extensions/queues/queues_functions.h"
|
||||
@@ -12,7 +12,9 @@ typedef struct loaderLayer {
|
||||
// idk why I sperate these info different classes, I should really shove them in one bit class
|
||||
// they used to be loaded seperatly but I guess there not anymore
|
||||
// initlization is hard
|
||||
gnInstanceFunctions instanceFunctions;
|
||||
|
||||
// gnInstanceFunctions instanceFunctions;
|
||||
|
||||
gnDeviceFunctions deviceFunctions;
|
||||
gnCommandFunctions commandFunctions;
|
||||
|
||||
@@ -31,3 +33,7 @@ void resetLayer(gnInstance instance);
|
||||
|
||||
gnSyncExtFunctions loadAPISyncFunctions(gnRenderingAPI api);
|
||||
gnQueueExtFunctions loadAPIQueueFunctions(gnRenderingAPI api);
|
||||
|
||||
|
||||
|
||||
dispatcher_bool loadAPIInstanceFunctions(dispatcher_layer* layer);
|
||||
|
Reference in New Issue
Block a user