Skip to content
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

Merged
merged 5 commits into from
Aug 30, 2023

Conversation

davidlunarg
Copy link
Contributor

When replaying:
vkAcquireProfilingLockKHR
vkWaitForPresentKHR
vkWaitSemaphores
use an infinite timeout if the expected result is VK_SUCCESS.

When replaying:
    vkAcquireProfilingLockKHR
    vkWaitForPresentKHR
    vkWaitSemaphores
use an infinite timeout if the expected result is VK_SUCCESS.
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 32881.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3147 running.

@ci-tester-lunarg
Copy link

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-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 33915.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3161 running.

Copy link
Contributor

@MarkY-LunarG MarkY-LunarG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3161 passed.

MarkY-LunarG and others added 3 commits August 30, 2023 15:21
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-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 34079.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3162 running.

@davidlunarg davidlunarg merged commit 215926d into LunarG:dev Aug 30, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants