This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
impeller/renderer/backend/vulkan/test Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -77,34 +77,6 @@ TEST(GPUTracerVK, DoesNotTraceOutsideOfFrameWorkload) {
7777 " vkGetQueryPoolResults" ) == called->end ());
7878}
7979
80- TEST (GPUTracerVK, DoesNotTraceOtherTheads) {
81- auto const context = MockVulkanContextBuilder ().Build ();
82-
83- auto tracer = std::make_shared<GPUTracerVK>(context->GetDeviceHolder ());
84-
85- ASSERT_TRUE (tracer->IsEnabled ());
86-
87- tracer->MarkFrameStart ();
88-
89- // Record the cmd buffer on another thread to simulate a mipmap cmd buffer.
90- std::thread image_upload_thread ([&context]() {
91- auto cmd_buffer = context->CreateCommandBuffer ();
92- auto vk_cmd_buffer = CommandBufferVK::Cast (cmd_buffer.get ());
93- auto blit_pass = cmd_buffer->CreateBlitPass ();
94- if (!cmd_buffer->SubmitCommands ()) {
95- VALIDATION_LOG << " Failed to submit commands" ;
96- }
97- });
98-
99- image_upload_thread.join ();
100-
101- auto called = GetMockVulkanFunctions (context->GetDevice ());
102-
103- ASSERT_NE (called, nullptr );
104- ASSERT_TRUE (std::find (called->begin (), called->end (), " vkCreateQueryPool" ) ==
105- called->end ());
106- }
107-
10880#endif // IMPELLER_DEBUG
10981
11082} // namespace testing
You can’t perform that action at this time.
0 commit comments