From ae9e6ca6878a3d195b531dd60d3b33d69c7993ee Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Tue, 29 Oct 2024 00:34:21 -0600 Subject: [PATCH] Renaming --- client/src/draw.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/draw.c b/client/src/draw.c index 51c0d18..df4f635 100644 --- a/client/src/draw.c +++ b/client/src/draw.c @@ -85,24 +85,24 @@ VkResult draw_frame( } VK_RESULT(vkEndCommandBuffer(transfer_commands)); - VkPipelineStageFlags wait_stages[] = {VK_PIPELINE_STAGE_TRANSFER_BIT}; - VkTimelineSemaphoreSubmitInfo timeline_info = { + VkPipelineStageFlags transfer_wait_stages[] = {VK_PIPELINE_STAGE_TRANSFER_BIT}; + VkTimelineSemaphoreSubmitInfo transfer_timeline = { .sType = VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO, .waitSemaphoreValueCount = 1, .pWaitSemaphoreValues = &frame->frame_index, }; - VkSubmitInfo submit_info = { + VkSubmitInfo transfer_submit = { .sType = VK_STRUCTURE_TYPE_SUBMIT_INFO, .commandBufferCount = 1, .pCommandBuffers = &transfer_commands, .pSignalSemaphores = &frame->transfer, .signalSemaphoreCount = 1, .pWaitSemaphores = &frame->frame, - .pWaitDstStageMask = wait_stages, + .pWaitDstStageMask = transfer_wait_stages, .waitSemaphoreCount = 1, - .pNext = &timeline_info, + .pNext = &transfer_timeline, }; - VK_RESULT(vkQueueSubmit(context->transfer_queue.handle, 1, &submit_info, VK_NULL_HANDLE)); + VK_RESULT(vkQueueSubmit(context->transfer_queue.handle, 1, &transfer_submit, VK_NULL_HANDLE)); frame->transfer_count = 0; frame->transfer_written = 0;