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:
parent
1523d4cf18
commit
318ec2e893
|
@ -1186,6 +1186,9 @@ TEST_P(BufferZeroInitTest, IndirectBufferForDispatchIndirect) {
|
||||||
|
|
||||||
// Test the buffer will be lazily initialized correctly when its first use is in resolveQuerySet
|
// Test the buffer will be lazily initialized correctly when its first use is in resolveQuerySet
|
||||||
TEST_P(BufferZeroInitTest, 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
|
// Timestamp query is not supported on OpenGL
|
||||||
DAWN_SKIP_TEST_IF(IsOpenGL());
|
DAWN_SKIP_TEST_IF(IsOpenGL());
|
||||||
|
|
||||||
|
|
|
@ -141,6 +141,9 @@ TEST_P(ComputeCopyStorageBufferTests, SizedArrayOfStruct) {
|
||||||
|
|
||||||
// Test that a trivial compute-shader memcpy implementation works.
|
// Test that a trivial compute-shader memcpy implementation works.
|
||||||
TEST_P(ComputeCopyStorageBufferTests, UnsizedArrayOfBasic) {
|
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"(
|
BasicTest(R"(
|
||||||
[[block]] struct Buf1 {
|
[[block]] struct Buf1 {
|
||||||
s : array<vec4<u32>>;
|
s : array<vec4<u32>>;
|
||||||
|
|
|
@ -93,6 +93,9 @@ class CopyTextureForBrowserTests : public DawnTest {
|
||||||
void SetUp() override {
|
void SetUp() override {
|
||||||
DawnTest::SetUp();
|
DawnTest::SetUp();
|
||||||
|
|
||||||
|
// TODO(crbug.com/tint/682): error: runtime array not supported yet
|
||||||
|
DAWN_SKIP_TEST_IF(IsD3D12() && HasToggleEnabled("use_tint_generator"));
|
||||||
|
|
||||||
testPipeline = MakeTestPipeline();
|
testPipeline = MakeTestPipeline();
|
||||||
|
|
||||||
uint32_t uniformBufferData[] = {
|
uint32_t uniformBufferData[] = {
|
||||||
|
|
|
@ -23,6 +23,9 @@ class OpArrayLengthTest : public DawnTest {
|
||||||
void SetUp() {
|
void SetUp() {
|
||||||
DawnTest::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
|
// Create buffers of various size to check the length() implementation
|
||||||
wgpu::BufferDescriptor bufferDesc;
|
wgpu::BufferDescriptor bufferDesc;
|
||||||
bufferDesc.size = 4;
|
bufferDesc.size = 4;
|
||||||
|
|
|
@ -314,6 +314,9 @@ class TimestampQueryTests : public QueryTests {
|
||||||
void SetUp() override {
|
void SetUp() override {
|
||||||
DawnTest::SetUp();
|
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
|
// Skip all tests if timestamp extension is not supported
|
||||||
DAWN_SKIP_TEST_IF(!SupportsExtensions({"timestamp_query"}));
|
DAWN_SKIP_TEST_IF(!SupportsExtensions({"timestamp_query"}));
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,6 +86,8 @@ class QueryInternalShaderTests : public DawnTest {};
|
||||||
// timestamp period (here use GPU frequency (HZ) on Intel D3D12 to calculate the period in
|
// timestamp period (here use GPU frequency (HZ) on Intel D3D12 to calculate the period in
|
||||||
// ns for testing).
|
// ns for testing).
|
||||||
TEST_P(QueryInternalShaderTests, TimestampComputeShader) {
|
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.
|
// TODO(crbug.com/dawn/741): Test output is wrong with D3D12 + WARP.
|
||||||
DAWN_SKIP_TEST_IF(IsD3D12() && IsWARP());
|
DAWN_SKIP_TEST_IF(IsD3D12() && IsWARP());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue