move count param on REFRESH_Submit

pull/1/head
cosmonaut 2021-01-03 14:57:46 -08:00
parent 788c63f3ac
commit 5a92fdf984
4 changed files with 11 additions and 11 deletions

View File

@ -1333,8 +1333,8 @@ REFRESHAPI void REFRESH_QueuePresent(
/* Submits all of the enqueued commands. */
REFRESHAPI void REFRESH_Submit(
REFRESH_Device* device,
REFRESH_CommandBuffer **pCommandBuffers,
uint32_t commandBufferCount
uint32_t commandBufferCount,
REFRESH_CommandBuffer **pCommandBuffers
);
/* Waits for the previous submission to complete. */

View File

@ -875,14 +875,14 @@ void REFRESH_QueuePresent(
void REFRESH_Submit(
REFRESH_Device *device,
REFRESH_CommandBuffer **pCommandBuffers,
uint32_t commandBufferCount
uint32_t commandBufferCount,
REFRESH_CommandBuffer **pCommandBuffers
) {
NULL_RETURN(device);
device->Submit(
device->driverData,
pCommandBuffers,
commandBufferCount
commandBufferCount,
pCommandBuffers
);
}

View File

@ -518,8 +518,8 @@ struct REFRESH_Device
void(*Submit)(
REFRESH_Renderer *driverData,
REFRESH_CommandBuffer **pCommandBuffers,
uint32_t commandBufferCount
uint32_t commandBufferCount,
REFRESH_CommandBuffer **pCommandBuffers
);
void(*Wait)(

View File

@ -1456,7 +1456,7 @@ typedef struct VulkanRenderer
/* Forward declarations */
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);
/* Error Handling */
@ -8156,8 +8156,8 @@ static void VULKAN_INTERNAL_ResetCommandBuffer(
static void VULKAN_Submit(
REFRESH_Renderer *driverData,
REFRESH_CommandBuffer **pCommandBuffers,
uint32_t commandBufferCount
uint32_t commandBufferCount,
REFRESH_CommandBuffer **pCommandBuffers
) {
VulkanRenderer* renderer = (VulkanRenderer*)driverData;
VkSubmitInfo transferSubmitInfo, submitInfo;