-
Notifications
You must be signed in to change notification settings - Fork 411
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
layers: Do not create wait timepoint after signal retired #9004
layers: Do not create wait timepoint after signal retired #9004
Conversation
CI Vulkan-ValidationLayers build queued with queue ID 322262. |
CI Vulkan-ValidationLayers build # 18295 running. |
} | ||
|
||
if (payload <= completed_.payload) { |
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.
Previously this was only for timeline semaphores. The test shows it's also needed for binary semaphores.
CI Vulkan-ValidationLayers build # 18295 aborted. |
CI Vulkan-ValidationLayers build queued with queue ID 322458. |
CI Vulkan-ValidationLayers build # 18301 running. |
CI Vulkan-ValidationLayers build # 18301 aborted. |
This is follow-up to 8a41fe2 - Fix empty timeline assumption in Semaphore::EnqueueWait Wait timepoint should not be registered when signal is already retired. In this case wait should be resolved againt completed_ state. There is assert in Semaphore::CanBinaryBeSignaled that checks that binary timepoint has at least signal op. The new tests will trigger this assert in case of a regression.
b6ea498
to
5b01c31
Compare
CI Vulkan-ValidationLayers build queued with queue ID 322681. |
CI Vulkan-ValidationLayers build # 18310 running. |
CI Vulkan-ValidationLayers build # 18310 passed. |
This is follow-up to #9000 and reproduces another assert #8989 (comment)
Wait timepoint should not be registered when signal is already retired.
In this case wait should be resolved againt
completed_
state.There is assert in
Semaphore::CanBinaryBeSignaled
that checks thatbinary timepoint has at least signal op. The new tests will trigger this
assert in case of a regression.
There might be other places to adjust, will continue to inspect code.
Addresses assert part of #9009