load the actuall first layer

This commit is contained in:
Greg Wells
2025-06-26 14:13:24 -04:00
parent b39fc43905
commit ab3bd566d2
4 changed files with 20 additions and 14 deletions

View File

@@ -6,9 +6,15 @@
#include "utils/lists/gryphn_array_list.h"
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;
gnDeviceFunctions deviceFunctions;
gnCommandFunctions commandFunctions;
// this index is not set by loadLayer, set by gnCreateInstance
uint32_t layerIndex;
} loaderLayer;
loaderLayer loadLayer(loaderInfo info);