-
Notifications
You must be signed in to change notification settings - Fork 416
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
bp: Fix signaling events #9169
bp: Fix signaling events #9169
Conversation
CI Vulkan-ValidationLayers build queued with queue ID 340252. |
TEST_F(VkPositiveBestPracticesLayerTest, ResetCommandPool) { | ||
TEST_DESCRIPTION("Test creating fifo relaxed swapchain"); | ||
|
||
AddSurfaceExtension(); |
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.
was this needed?
@@ -348,7 +348,9 @@ struct EventValidator { | |||
} else { | |||
// check global event state | |||
auto event_state = state_tracker.Get<vvl::Event>(event); |
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.
why it's null?
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.
Because the event has been destroyed
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.
Okay, I assume on destruction the objects are removed form state tracker, did I miss something? @jeremyg-lunarg
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.
This is bp, and there is no remove from event_signaling_state
anywhere
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.
Okay, thanks. If you don't see an issue with this I'll create issue to manage lifetime of objects in event_signaling_state
. It was added in #8033 but not sure why not lifetime management.
CI Vulkan-ValidationLayers build # 18566 running. |
@@ -423,3 +423,27 @@ TEST_F(VkPositiveBestPracticesLayerTest, CreateFifoRelaxedSwapchain) { | |||
m_errorMonitor->SetAllowedFailureMsg("VUID-VkSwapchainCreateInfoKHR-presentMode-02839"); | |||
m_swapchain.Init(*m_device, swapchain_create_info); | |||
} | |||
|
|||
TEST_F(VkPositiveBestPracticesLayerTest, ResetCommandPool) { | |||
TEST_DESCRIPTION("Test creating fifo relaxed swapchain"); |
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.
reword or remove
3243e33
to
f5dd42a
Compare
CI Vulkan-ValidationLayers build queued with queue ID 340269. |
f5dd42a
to
227b5a8
Compare
CI Vulkan-ValidationLayers build queued with queue ID 340284. |
CI Vulkan-ValidationLayers build # 18568 running. |
CI Vulkan-ValidationLayers build # 18568 failed. |
227b5a8
to
20a8681
Compare
CI Vulkan-ValidationLayers build queued with queue ID 340354. |
CI Vulkan-ValidationLayers build # 18569 running. |
CI Vulkan-ValidationLayers build # 18569 failed. |
20a8681
to
f94a89a
Compare
CI Vulkan-ValidationLayers build queued with queue ID 340396. |
CI Vulkan-ValidationLayers build # 18571 running. |
f94a89a
to
4cb07f4
Compare
CI Vulkan-ValidationLayers build queued with queue ID 340415. |
CI Vulkan-ValidationLayers build # 18572 running. |
4cb07f4
to
bdbff3c
Compare
CI Vulkan-ValidationLayers build queued with queue ID 340439. |
CI Vulkan-ValidationLayers build # 18573 running. |
CI Vulkan-ValidationLayers build # 18573 passed. |
No description provided.