mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-13 17:30:12 +00:00
Fix normal validation issues in vulkan tests
* Missing usage flags, invalid state creation/setting, invalid combination of LOAD op and UNDEFINED layout, etc.
This commit is contained in:
7 files changed
+28
-13
No files matched your search
@@ -1885,12 +1885,15 @@ void VulkanWindow::MultiPresent(VkQueue queue, std::vector<VulkanWindow *> windo
|
||||
}
|
||||
}
|
||||
|
||||
void VulkanWindow::Present(VkQueue queue)
|
||||
void VulkanWindow::Present(VkQueue queue, bool queueWaitIdle)
|
||||
{
|
||||
if(swap == VK_NULL_HANDLE)
|
||||
return;
|
||||
|
||||
vkDeviceWaitIdle(m_Test->device);
|
||||
if(queueWaitIdle)
|
||||
vkQueueWaitIdle(queue);
|
||||
else
|
||||
vkDeviceWaitIdle(m_Test->device);
|
||||
|
||||
VkResult vkr =
|
||||
vkQueuePresentKHR(queue, vkh::PresentInfoKHR(swap, imgIndex, &renderEndSemaphore[semIdx]));
|
||||
|
||||
Reference in new issue
Block a user