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

@@ -1,18 +1,11 @@
#pragma once
#include "stdint.h"
#include "renderpass/gryphn_render_pass_descriptor.h"
#include "utils/gryphn_error_code.h"
#include "gryphn_handles.h"
typedef struct gnSubmitInfo {
uint32_t waitCount;
gnRenderPassStage* waitStages;
gnSemaphoreHandle* waitSemaphores;
uint32_t signalCount;
gnSemaphoreHandle* signalSemaphores;
uint32_t commandBufferCount;
gnCommandBufferHandle* commandBuffers;
uint32_t queueIndex;
gnFenceHandle fence;
} gnSubmitInfo;
gnReturnCode gnSubmit(gnOutputDevice device, gnSubmitInfo info);