submit command moved to sync extension
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#include "gryphn_sync_submit.h"
|
||||
#include "core/src/output_device/gryphn_output_device.h"
|
||||
#include "core/src/instance/gryphn_instance.h"
|
||||
|
||||
gnReturnCode gnSubmitSync(gnOutputDevice device, gnSubmitSyncInfo info) {
|
||||
return device->instance->callingLayer->syncFunctions._gnSubmitSync(device, info);
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#include "stdint.h"
|
||||
#include "core/src/renderpass/gryphn_render_pass_descriptor.h"
|
||||
#include "core/src/gryphn_handles.h"
|
||||
|
||||
typedef struct gnSubmitSyncInfo {
|
||||
uint32_t waitCount;
|
||||
gnRenderPassStage* waitStages;
|
||||
gnSemaphoreHandle* waitSemaphores;
|
||||
uint32_t signalCount;
|
||||
gnSemaphoreHandle* signalSemaphores;
|
||||
uint32_t commandBufferCount;
|
||||
gnCommandBufferHandle* commandBuffers;
|
||||
uint32_t queueIndex;
|
||||
gnFenceHandle fence;
|
||||
} gnSubmitSyncInfo;
|
||||
|
||||
gnReturnCode gnSubmitSync(gnOutputDevice device, gnSubmitSyncInfo info);
|
Reference in New Issue
Block a user