Disable test for D3D12 + tint which use runtime sized arrays

Bug: tint:682
Change-Id: I254e0a4b02dd9348daab096e6fc16d9a004c527e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46369
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Ben Clayton 2021-03-30 20:14:07 +00:00 committed by Commit Bot service account
parent 1523d4cf18
commit 318ec2e893
6 changed files with 17 additions and 0 deletions

View File

@ -1186,6 +1186,9 @@ TEST_P(BufferZeroInitTest, IndirectBufferForDispatchIndirect) {
// Test the buffer will be lazily initialized correctly when its first use is in resolveQuerySet
TEST_P(BufferZeroInitTest, ResolveQuerySet) {
// TODO(crbug.com/tint/682): error: runtime array not supported yet
DAWN_SKIP_TEST_IF(IsD3D12() && HasToggleEnabled("use_tint_generator"));
// Timestamp query is not supported on OpenGL
DAWN_SKIP_TEST_IF(IsOpenGL());

View File

@ -141,6 +141,9 @@ TEST_P(ComputeCopyStorageBufferTests, SizedArrayOfStruct) {
// Test that a trivial compute-shader memcpy implementation works.
TEST_P(ComputeCopyStorageBufferTests, UnsizedArrayOfBasic) {
// TODO(crbug.com/tint/682): error: runtime array not supported yet
DAWN_SKIP_TEST_IF(IsD3D12() && HasToggleEnabled("use_tint_generator"));
BasicTest(R"(
[[block]] struct Buf1 {
s : array<vec4<u32>>;

View File

@ -93,6 +93,9 @@ class CopyTextureForBrowserTests : public DawnTest {
void SetUp() override {
DawnTest::SetUp();
// TODO(crbug.com/tint/682): error: runtime array not supported yet
DAWN_SKIP_TEST_IF(IsD3D12() && HasToggleEnabled("use_tint_generator"));
testPipeline = MakeTestPipeline();
uint32_t uniformBufferData[] = {

View File

@ -23,6 +23,9 @@ class OpArrayLengthTest : public DawnTest {
void SetUp() {
DawnTest::SetUp();
// TODO(crbug.com/tint/682): error: runtime array not supported yet
DAWN_SKIP_TEST_IF(IsD3D12() && HasToggleEnabled("use_tint_generator"));
// Create buffers of various size to check the length() implementation
wgpu::BufferDescriptor bufferDesc;
bufferDesc.size = 4;

View File

@ -314,6 +314,9 @@ class TimestampQueryTests : public QueryTests {
void SetUp() override {
DawnTest::SetUp();
// TODO(crbug.com/tint/682): error: runtime array not supported yet
DAWN_SKIP_TEST_IF(IsD3D12() && HasToggleEnabled("use_tint_generator"));
// Skip all tests if timestamp extension is not supported
DAWN_SKIP_TEST_IF(!SupportsExtensions({"timestamp_query"}));
}

View File

@ -86,6 +86,8 @@ class QueryInternalShaderTests : public DawnTest {};
// timestamp period (here use GPU frequency (HZ) on Intel D3D12 to calculate the period in
// ns for testing).
TEST_P(QueryInternalShaderTests, TimestampComputeShader) {
// TODO(crbug.com/tint/682): error: runtime array not supported yet
DAWN_SKIP_TEST_IF(IsD3D12() && HasToggleEnabled("use_tint_generator"));
// TODO(crbug.com/dawn/741): Test output is wrong with D3D12 + WARP.
DAWN_SKIP_TEST_IF(IsD3D12() && IsWARP());