forked from MoonsideGames/Refresh
move count param on REFRESH_Submit
parent
788c63f3ac
commit
5a92fdf984
|
@ -1333,8 +1333,8 @@ REFRESHAPI void REFRESH_QueuePresent(
|
||||||
/* Submits all of the enqueued commands. */
|
/* Submits all of the enqueued commands. */
|
||||||
REFRESHAPI void REFRESH_Submit(
|
REFRESHAPI void REFRESH_Submit(
|
||||||
REFRESH_Device* device,
|
REFRESH_Device* device,
|
||||||
REFRESH_CommandBuffer **pCommandBuffers,
|
uint32_t commandBufferCount,
|
||||||
uint32_t commandBufferCount
|
REFRESH_CommandBuffer **pCommandBuffers
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Waits for the previous submission to complete. */
|
/* Waits for the previous submission to complete. */
|
||||||
|
|
|
@ -875,14 +875,14 @@ void REFRESH_QueuePresent(
|
||||||
|
|
||||||
void REFRESH_Submit(
|
void REFRESH_Submit(
|
||||||
REFRESH_Device *device,
|
REFRESH_Device *device,
|
||||||
REFRESH_CommandBuffer **pCommandBuffers,
|
uint32_t commandBufferCount,
|
||||||
uint32_t commandBufferCount
|
REFRESH_CommandBuffer **pCommandBuffers
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->Submit(
|
device->Submit(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
pCommandBuffers,
|
commandBufferCount,
|
||||||
commandBufferCount
|
pCommandBuffers
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -518,8 +518,8 @@ struct REFRESH_Device
|
||||||
|
|
||||||
void(*Submit)(
|
void(*Submit)(
|
||||||
REFRESH_Renderer *driverData,
|
REFRESH_Renderer *driverData,
|
||||||
REFRESH_CommandBuffer **pCommandBuffers,
|
uint32_t commandBufferCount,
|
||||||
uint32_t commandBufferCount
|
REFRESH_CommandBuffer **pCommandBuffers
|
||||||
);
|
);
|
||||||
|
|
||||||
void(*Wait)(
|
void(*Wait)(
|
||||||
|
|
|
@ -1456,7 +1456,7 @@ typedef struct VulkanRenderer
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
|
|
||||||
static void VULKAN_INTERNAL_BeginCommandBuffer(VulkanRenderer *renderer, VulkanCommandBuffer *commandBuffer);
|
static void VULKAN_INTERNAL_BeginCommandBuffer(VulkanRenderer *renderer, VulkanCommandBuffer *commandBuffer);
|
||||||
static void VULKAN_Submit(REFRESH_Renderer *driverData, REFRESH_CommandBuffer **pCommandBuffers, uint32_t commandBufferCount);
|
static void VULKAN_Submit(REFRESH_Renderer *driverData, uint32_t commandBufferCount, REFRESH_CommandBuffer **pCommandBuffers);
|
||||||
static void VULKAN_INTERNAL_FlushTransfers(VulkanRenderer *renderer);
|
static void VULKAN_INTERNAL_FlushTransfers(VulkanRenderer *renderer);
|
||||||
|
|
||||||
/* Error Handling */
|
/* Error Handling */
|
||||||
|
@ -8156,8 +8156,8 @@ static void VULKAN_INTERNAL_ResetCommandBuffer(
|
||||||
|
|
||||||
static void VULKAN_Submit(
|
static void VULKAN_Submit(
|
||||||
REFRESH_Renderer *driverData,
|
REFRESH_Renderer *driverData,
|
||||||
REFRESH_CommandBuffer **pCommandBuffers,
|
uint32_t commandBufferCount,
|
||||||
uint32_t commandBufferCount
|
REFRESH_CommandBuffer **pCommandBuffers
|
||||||
) {
|
) {
|
||||||
VulkanRenderer* renderer = (VulkanRenderer*)driverData;
|
VulkanRenderer* renderer = (VulkanRenderer*)driverData;
|
||||||
VkSubmitInfo transferSubmitInfo, submitInfo;
|
VkSubmitInfo transferSubmitInfo, submitInfo;
|
||||||
|
|
Loading…
Reference in New Issue