submit command moved to sync extension

This commit is contained in:
Gregory Wells
2025-07-09 20:29:07 -04:00
parent a6c05bfa52
commit f44b73665b
13 changed files with 73 additions and 22 deletions

View File

@@ -4,6 +4,7 @@
#include <core/src/debugger/gryphn_debugger.h>
#include "synchronization/semaphore/gryphn_semaphore.h"
#include "synchronization/fence/gryphn_fence.h"
#include "synchronization/commands/gryphn_sync_submit.h"
gnReturnCode checkPresentationQueueGetImageAsync(gnPresentationQueueHandle presentationQueue, uint64_t timeout, gnSemaphoreHandle semaphore, uint32_t* imageIndex) {
CHECK_FUNCTION_WITH_RETURN_CODE(presentationQueue->outputDevice->instance, _gnPresentationQueueGetImageAsync, syncFunctions, presentationQueue, timeout, semaphore, imageIndex);
@@ -28,3 +29,7 @@ void checkResetFence(gnFenceHandle fence) {
void checkDestroyFence(gnFenceHandle fence) {
CHECK_VOID_FUNCTION(fence->device->instance, _gnDestroyFence, syncFunctions, fence);
}
gnReturnCode checkSubmitSync(gnOutputDevice device, gnSubmitSyncInfo info) {
CHECK_FUNCTION_WITH_RETURN_CODE(device->instance, _gnSubmitSync, syncFunctions, device, info);
}

View File

@@ -7,3 +7,6 @@ gnReturnCode checkCreateFence(gnFenceHandle fence, gnOutputDeviceHandle device);
void checkWaitForFence(gnFenceHandle fence, uint64_t timeout);
void checkResetFence(gnFenceHandle fence);
void checkDestroyFence(gnFenceHandle fence);
// gnReturnCode fdsfsdf(gnOutputDevice device, gnSubmitSyncInfo info);
gnReturnCode checkSubmitSync(gnOutputDevice device, gnSubmitSyncInfo info);