From bd2ab92853301343b06c5ee6a919169cc160082b Mon Sep 17 00:00:00 2001 From: Bryan Bernhart Date: Tue, 30 Jun 2020 18:48:20 +0000 Subject: [PATCH] D3D12: Limit QueueWriteBufferTests.ManyWriteBuffer The stress test is causing timeouts on slower GPUs due to the TDR threshold being hit. This halves the number of writes required to complete the test. BUG=dawn:228 Change-Id: I18dfa68b39a2c079b89eeadc78a69675e5c3269f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24100 Reviewed-by: Corentin Wallez Reviewed-by: Bryan Bernhart Reviewed-by: Austin Eng Commit-Queue: Bryan Bernhart --- src/tests/end2end/QueueTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/end2end/QueueTests.cpp b/src/tests/end2end/QueueTests.cpp index bc83a1b783..b3f57a41b1 100644 --- a/src/tests/end2end/QueueTests.cpp +++ b/src/tests/end2end/QueueTests.cpp @@ -113,7 +113,7 @@ TEST_P(QueueWriteBufferTests, ManyWriteBuffer) { DAWN_SKIP_TEST_IF(IsMacOS() && IsIntel() && IsMetal()); constexpr uint64_t kSize = 4000 * 1000; - constexpr uint32_t kElements = 500 * 500; + constexpr uint32_t kElements = 250 * 250; wgpu::BufferDescriptor descriptor; descriptor.size = kSize; descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst;