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 <cwallez@chromium.org> Reviewed-by: Bryan Bernhart <bryan.bernhart@intel.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Bryan Bernhart <bryan.bernhart@intel.com>
This commit is contained in:
parent
f7fab5a259
commit
bd2ab92853
|
@ -113,7 +113,7 @@ TEST_P(QueueWriteBufferTests, ManyWriteBuffer) {
|
||||||
DAWN_SKIP_TEST_IF(IsMacOS() && IsIntel() && IsMetal());
|
DAWN_SKIP_TEST_IF(IsMacOS() && IsIntel() && IsMetal());
|
||||||
|
|
||||||
constexpr uint64_t kSize = 4000 * 1000;
|
constexpr uint64_t kSize = 4000 * 1000;
|
||||||
constexpr uint32_t kElements = 500 * 500;
|
constexpr uint32_t kElements = 250 * 250;
|
||||||
wgpu::BufferDescriptor descriptor;
|
wgpu::BufferDescriptor descriptor;
|
||||||
descriptor.size = kSize;
|
descriptor.size = kSize;
|
||||||
descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst;
|
descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst;
|
||||||
|
|
Loading…
Reference in New Issue