submitted command buffers + subpass depends

This commit is contained in:
Greg Wells
2025-05-30 13:09:35 -04:00
parent 64da9c4ec4
commit dd5e93864d
9 changed files with 127 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
#pragma once
#include "stdint.h"
#include "core/sync/semaphore/gryphn_semaphore.h"
#include "core/sync/fence/gryphn_fence.h"
#include "core/command/command_buffer/gryphn_command_buffer.h"
#include "core/output_device/gryphn_output_device.h"
typedef struct gnSubmitInfo_t {
uint32_t waitCount;
enum gnRenderPassStage_e* waitStages;
struct gnSemaphore_t* waitSemaphores;
uint32_t signalCount;
struct gnSemaphore_t* signalSemaphores;
uint32_t commandBufferCount;
struct gnCommandBuffer_t* commandBuffers;
uint32_t queueIndex;
struct gnFence_t* fence;
} gnSubmitInfo;
gnReturnCode gnSubmit(struct gnOutputDevice_t* device, struct gnSubmitInfo_t submit);