-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gfxrecon-replay: Use infinite timeout for 3 Vulkan api calls #1239
Conversation
When replaying: vkAcquireProfilingLockKHR vkWaitForPresentKHR vkWaitSemaphores use an infinite timeout if the expected result is VK_SUCCESS.
CI gfxreconstruct build queued with queue ID 32881. |
CI gfxreconstruct build # 3147 running. |
CI gfxreconstruct build # 3147 passed. |
Added braces to code changes in 2 prior commits Renamed a variable in VulkanReplayConsumerBase::OverrideAcquireProfilingLockKHR in framework/decode/vulkan_replay_consumer_base.cpp
CI gfxreconstruct build queued with queue ID 33915. |
CI gfxreconstruct build # 3161 running. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CI gfxreconstruct build # 3161 passed. |
Modify virtual swapchain to create a command buffer per queue and and per swapchain image. Then when a vkQueuePresent occurs, perform the blits in the same queue as the presented queue to reduce race conditions. This resolves the issue where a QueuePresent is presented inline in a queue, but has no wait semaphore information. Instead, the QueuePresent relied upon the previous submit (also in the same queue) to perform the synchronization. Previously, the virtual swapchain had it's own Queue that it used which caused a race condition resulting in old images being used. Fixes: LunarG#1122
* cast a float result back to uint32_t * fix some strict warnings
CI gfxreconstruct build queued with queue ID 34079. |
CI gfxreconstruct build # 3162 running. |
When replaying:
vkAcquireProfilingLockKHR
vkWaitForPresentKHR
vkWaitSemaphores
use an infinite timeout if the expected result is VK_SUCCESS.