cts icon indicating copy to clipboard operation
cts copied to clipboard

wgsl: validate parsing or storage texture types

Open dj2 opened this issue 3 years ago • 1 comments

For each of the storage textures {texture_storage_1d, texture_storage_2d, texture_storage_2d_array and texture_storage_3d}

  • [ ] Missing texel_format fails texture_storage_1d<write>
  • [x] Invalid texel_format fails texture_storage_1d<invalid, write>
  • [ ] No params fails texture_storage_1d and texture_storage_1d<>
  • [ ] Missing comma fails texture_storage_1d<rgba32float write>
  • [ ] Missing access parameter fails
  • [ ] Access parameter of read fails
  • [ ] Access parameter of read_write fails
  • [x] Invalid access parameter fails
  • [ ] Missing opening and closing < and >
  • [ ] with embedded comments texture_storage_1d/* comment*/<\nr32float/* comment */, write\n\n>

4.6.5. Storage Texture Types

dj2 avatar Jun 16 '22 19:06 dj2

https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/types/textures.spec.ts

dj2 avatar Apr 24 '24 19:04 dj2