finish moving some stuff over to the extension
This commit is contained in:
18
projects/apis/vulkan/loader/vulkan_sync_loader.c
Normal file
18
projects/apis/vulkan/loader/vulkan_sync_loader.c
Normal 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,
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user