Commit 67f5ba63 authored by Nicholas Milef's avatar Nicholas Milef

CLEANUP: cleaned up fence parameter for vkQueueSubmit() in Vulkan renderer

parent 373b3170
......@@ -1914,7 +1914,7 @@ VulkanRenderer::setupGUI()
submitInfo[0].signalSemaphoreCount = 0;
submitInfo[0].pSignalSemaphores = nullptr;
vkQueueSubmit(m_renderQueue, 1, submitInfo, nullptr);
vkQueueSubmit(m_renderQueue, 1, submitInfo, VK_NULL_HANDLE);
vkQueueWaitIdle(m_renderQueue);
ImGui_ImplVulkan_InvalidateFontUploadObjects();
......
......@@ -451,7 +451,7 @@ VulkanTextureDelegate::uploadTexture(VulkanMemoryManager& memoryManager)
submitInfo[0].signalSemaphoreCount = 0;
submitInfo[0].pSignalSemaphores = nullptr;
vkQueueSubmit(*memoryManager.m_transferQueue, 1, submitInfo, nullptr);
vkQueueSubmit(*memoryManager.m_transferQueue, 1, submitInfo, VK_NULL_HANDLE);
vkDeviceWaitIdle(memoryManager.m_device);
}
......@@ -545,7 +545,7 @@ VulkanTextureDelegate::uploadCubemapTexture(VulkanMemoryManager& memoryManager)
submitInfo[0].signalSemaphoreCount = 0;
submitInfo[0].pSignalSemaphores = nullptr;
vkQueueSubmit(*memoryManager.m_transferQueue, 1, submitInfo, nullptr);
vkQueueSubmit(*memoryManager.m_transferQueue, 1, submitInfo, VK_NULL_HANDLE);
vkDeviceWaitIdle(memoryManager.m_device);
}
......
......@@ -228,7 +228,7 @@ VulkanVertexBuffer::initializeBuffers(VulkanMemoryManager& memoryManager)
submitInfo[0].signalSemaphoreCount = 0;
submitInfo[0].pSignalSemaphores = nullptr;
vkQueueSubmit(*memoryManager.m_transferQueue, 1, submitInfo, nullptr);
vkQueueSubmit(*memoryManager.m_transferQueue, 1, submitInfo, VK_NULL_HANDLE);
vkDeviceWaitIdle(memoryManager.m_device);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment