From b0f5b1839f40f8f793ec2e4a6eecae41a273e0b3 Mon Sep 17 00:00:00 2001 From: Natalie Chouinard Date: Tue, 4 Jun 2024 10:01:27 -0400 Subject: [PATCH] Add more vertex shader res restrictions on tests (#3780) Filter out more tests that result in use of a writable texture storage buffer in a vertex shader. Spec change: gpuweb/gpuweb#3947 Tint change (in progress): https://dawn-review.googlesource.com/c/dawn/+/190781 --- .../shader/validation/shader_io/group_and_binding.spec.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/webgpu/shader/validation/shader_io/group_and_binding.spec.ts b/src/webgpu/shader/validation/shader_io/group_and_binding.spec.ts index 5a4168267b20..e1c6128c505e 100644 --- a/src/webgpu/shader/validation/shader_io/group_and_binding.spec.ts +++ b/src/webgpu/shader/validation/shader_io/group_and_binding.spec.ts @@ -96,6 +96,9 @@ g.test('single_entry_point') .combine('a_kind', kResourceKindsA) .combine('b_kind', kResourceKindsB) .combine('usage', ['direct', 'transitive'] as const) + .filter(t => { + return !(t.stage === 'vertex' && t.b_kind === 'texture_storage_1d'); + }) .beginSubcases() .combine('a_group', [0, 3] as const) .combine('b_group', [0, 3] as const) @@ -140,6 +143,9 @@ g.test('different_entry_points') .combine('a_kind', kResourceKindsA) .combine('b_kind', kResourceKindsB) .combine('usage', ['direct', 'transitive'] as const) + .filter(t => { + return !(t.b_stage === 'vertex' && t.b_kind === 'texture_storage_1d'); + }) .beginSubcases() ) .fn(t => {