Commit 2e742b3e authored by Peng Huang's avatar Peng Huang Committed by Commit Bot

Disable VulkanFenceHelper::ProcessCleanupTasks on Windows

Bug: 1066854
Change-Id: Ic0ef799e374b90a81504f9655913fb52a68f459e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2135868
Auto-Submit: Peng Huang <penghuang@chromium.org>
Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756284}
parent 56e9f437
......@@ -5,6 +5,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "base/bind.h"
#include "build/build_config.h"
#include "gpu/vulkan/tests/basic_vulkan_test.h"
#include "gpu/vulkan/vulkan_device_queue.h"
#include "gpu/vulkan/vulkan_fence_helper.h"
......@@ -147,7 +148,13 @@ TEST_F(VulkanFenceHelperTest, SkiaCallbackBeforeFences) {
EXPECT_EQ(10u, cleanups_run);
}
// The test failed on Win with GTX1660 GPU.
// https://crbug.com/1066854
#if defined(OS_WIN)
TEST_F(VulkanFenceHelperTest, DISABLED_SkiaCallbackAfterFences) {
#else
TEST_F(VulkanFenceHelperTest, SkiaCallbackAfterFences) {
#endif
VulkanFenceHelper* fence_helper = GetDeviceQueue()->GetFenceHelper();
uint32_t cleanups_run = 0;
auto increment_cleanups_callback =
......@@ -168,7 +175,8 @@ TEST_F(VulkanFenceHelperTest, SkiaCallbackAfterFences) {
fence_helper->GenerateCleanupFence();
EXPECT_TRUE(fence_handle.is_valid());
// Call vkQueueWaitIdle() to make sure the |fence_handle| is passed.
// Call vkQueueWaitIdle() to make sure the |fence_handle| is passed,
// however it doesn't work on Win with GTX1660 GPU.
vkQueueWaitIdle(queue());
// Enqueue 5 more callbacks.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment