Skip to content

Commit

Permalink
add bgra8unorm
Browse files Browse the repository at this point in the history
  • Loading branch information
shrekshao committed Mar 12, 2024
1 parent e8b6217 commit 4b25fea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webgpu/shader/validation/types/textures.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ g.test('storage_texture_types')
`Test that for texture_storage_xx<format, access>
- format must be an enumerant for one of the texel formats for storage textures
- access must be an enumerant for one of the access modes
Note: bgra8unorm need bgra8unorm-storage feature to enable storage usable.
`
)
.params(u =>
u
.combine('access', ['read', 'write', 'read_write'] as const)
.combine('format', kAllTextureFormats)
// bgra8unorm-storage feature is tested at webgpu,api,validation,texture,bgra8unorm_storage
.filter(p => p.format !== 'bgra8unorm')
)
.fn(t => {
const { format, access } = t.params;
Expand Down

0 comments on commit 4b25fea

Please sign in to comment.