mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-24 14:45:53 +00:00
Check for failures from QueueWaitIdle in vulkan queue flush
This commit is contained in:
@@ -345,7 +345,8 @@ void WrappedVulkan::FlushQ()
|
||||
// see comment in SubmitQ()
|
||||
if(m_Queue != VK_NULL_HANDLE)
|
||||
{
|
||||
ObjDisp(m_Queue)->QueueWaitIdle(Unwrap(m_Queue));
|
||||
VkResult vkr = ObjDisp(m_Queue)->QueueWaitIdle(Unwrap(m_Queue));
|
||||
RDCASSERTEQUAL(vkr, VK_SUCCESS);
|
||||
}
|
||||
|
||||
#if ENABLED(SINGLE_FLUSH_VALIDATE)
|
||||
|
||||
Reference in New Issue
Block a user