Suppress indirect compute Tests on Win/Nvidia

Failures in the following tests are preventing Dawn from rolling into
Chromium due to errors when run against D3D12_NVIDIA_Quadro_P400

ComputeDispatchTests.IndirectBasic
ComputeDispatchTests.IndirectOffset
ComputeDispatchTests.MaxWorkgroups

Bug: dawn:1196
Change-Id: Ie7188384656307ede0f467ead6fba9289d9db655
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/69920
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
This commit is contained in:
Brandon Jones 2021-11-17 21:55:45 +00:00 committed by Dawn LUCI CQ
parent 659dcb6ed5
commit edc20d1528
1 changed files with 16 additions and 0 deletions

View File

@ -214,6 +214,11 @@ TEST_P(ComputeDispatchTests, DirectNoop) {
// Test basic indirect // Test basic indirect
TEST_P(ComputeDispatchTests, IndirectBasic) { TEST_P(ComputeDispatchTests, IndirectBasic) {
#ifdef DAWN_PLATFORM_32_BIT
// TODO(crbug.com/dawn/1196): Fails on Chromium's Quadro P400 bots
DAWN_SUPPRESS_TEST_IF(IsD3D12() && IsNvidia());
#endif
IndirectTest({2, 3, 4}, 0); IndirectTest({2, 3, 4}, 0);
} }
@ -239,6 +244,11 @@ TEST_P(ComputeDispatchTests, IndirectNoop) {
// Test indirect with buffer offset // Test indirect with buffer offset
TEST_P(ComputeDispatchTests, IndirectOffset) { TEST_P(ComputeDispatchTests, IndirectOffset) {
#ifdef DAWN_PLATFORM_32_BIT
// TODO(crbug.com/dawn/1196): Fails on Chromium's Quadro P400 bots
DAWN_SUPPRESS_TEST_IF(IsD3D12() && IsNvidia());
#endif
IndirectTest({0, 0, 0, 2, 3, 4}, 3 * sizeof(uint32_t)); IndirectTest({0, 0, 0, 2, 3, 4}, 3 * sizeof(uint32_t));
} }
@ -249,8 +259,14 @@ TEST_P(ComputeDispatchTests, IndirectOffsetWithoutNumWorkgroups) {
// Test indirect dispatches at max limit. // Test indirect dispatches at max limit.
TEST_P(ComputeDispatchTests, MaxWorkgroups) { TEST_P(ComputeDispatchTests, MaxWorkgroups) {
#ifdef DAWN_PLATFORM_32_BIT
// TODO(crbug.com/dawn/1196): Fails on Chromium's Quadro P400 bots
DAWN_SUPPRESS_TEST_IF(IsD3D12() && IsNvidia());
#endif
// TODO(crbug.com/dawn/1165): Fails with WARP // TODO(crbug.com/dawn/1165): Fails with WARP
DAWN_SUPPRESS_TEST_IF(IsWARP()); DAWN_SUPPRESS_TEST_IF(IsWARP());
uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension; uint32_t max = GetSupportedLimits().limits.maxComputeWorkgroupsPerDimension;
// Test that the maximum works in each dimension. // Test that the maximum works in each dimension.