From 6aaa10fa60eae46ff828f2ca398652adbf496327 Mon Sep 17 00:00:00 2001 From: Kai Ninomiya Date: Tue, 17 Jul 2018 11:14:47 -0700 Subject: [PATCH] Skip ComputeCopyStorageBufferTests.SizedArrayOfStruct on D3D12 (#225) --- src/tests/end2end/ComputeCopyStorageBufferTests.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/tests/end2end/ComputeCopyStorageBufferTests.cpp b/src/tests/end2end/ComputeCopyStorageBufferTests.cpp index f8ee5bbe1f..48b9d4494b 100644 --- a/src/tests/end2end/ComputeCopyStorageBufferTests.cpp +++ b/src/tests/end2end/ComputeCopyStorageBufferTests.cpp @@ -105,9 +105,13 @@ TEST_P(ComputeCopyStorageBufferTests, SizedArrayOfBasic) { } // Test that a slightly-less-trivial compute-shader memcpy implementation works. -// -// TODO(kainino@chromium.org): Fails on D3D12 backend. Probably due to a limitation in SPIRV-Cross? TEST_P(ComputeCopyStorageBufferTests, SizedArrayOfStruct) { + if (IsD3D12()) { + // TODO(kainino@chromium.org): Fails on D3D12. Probably due to a limitation in SPIRV-Cross? + std::cout << "Test skipped on D3D12" << std::endl; + return; + } + BasicTest(R"( #version 450 #define kInstances 4