submit command moved to sync extension
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user