dan sinclair
dan sinclair
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` * [x] Invalid texel_format fails `texture_storage_1d` * [ ] No params fails...
For each of the texture types {`texture_1d`, `texture_2d`, `texture_2d_array`, `texture_3d`, `texture_cube`, `texture_cube_array`, `texture_multisampled_2d`} * [x] Types of `f32`, `i32`, `u32` are accepted * [x] All other types are rejected *...
The only valid operations on atomics are the builtins. Validate all of the arithmetic operations fail if one of the types is an atomic. https://www.w3.org/TR/WGSL/#atomic-types
Atomics are initialized either 1. from an SSBO 2. to 0 as workgroup memory. Write tests to validate the atomics are correctly initialized in both those cases.
* [ ] Access variable not in-scope is invalid * [ ] Shadow a module scoped variable * [x] Module-scoped variable declared before function * [ ] Module-scoped variable declared...
See https://www.w3.org/TR/WGSL/#texturedimensions
See https://www.w3.org/TR/WGSL/#texturegathercompare