Skip to content

Commit

Permalink
Add more vertex shader res restrictions on tests (gpuweb#3780)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sudonatalie authored Jun 4, 2024
1 parent 09b39a3 commit b0f5b18
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 => {
Expand Down

0 comments on commit b0f5b18

Please sign in to comment.