finish moving some stuff over to the extension

This commit is contained in:
Gregory Wells
2025-07-09 20:00:44 -04:00
parent 414717d211
commit 6e22c85e43
14 changed files with 92 additions and 24 deletions

View File

@@ -0,0 +1,18 @@
#include "vulkan_loader.h"
#include <sync/semaphore/vulkan_semaphore.h>
#include <sync/fence/vulkan_fence.h>
#include "presentation_queue/vulkan_presentation_queue.h"
gnSyncExtFunctions loadVulkanSyncFunctions() {
return (gnSyncExtFunctions){
._gnPresentationQueueGetImageAsync = getPresentQueueImageAsync,
._gnCreateSemaphore = createSemaphore,
._gnDestroySemaphore = destroySemaphore,
._gnCreateFence = createFence,
._gnWaitForFence = waitForFence,
._gnResetFence = resetFence,
._gnDestroyFence = destroyFence,
};
}