Add type tests for WGSL immediate pointers (#4675) This patch extends type validation for the `immediate` address space. The pointer tests cover `ptr<immediate>` parsing, missing store types, invalid access modes, read-only pointer use, and immediate store types that must be rejected, including arrays and atomics. The type suites also recognize `immediate` as an address-space enumerant and check that `ref<immediate, T>` is not a nameable type.
This is the conformance test suite for WebGPU. It tests the behaviors defined by the WebGPU specification.
The contents of this test suite are considered normative; implementations must pass them to be WebGPU-conformant. Mismatches between the specification and tests are bugs.
This test suite can be embedded inside WPT or run in standalone.
Please read the introductory guidelines before contributing. Other documentation may be found in docs/ and in the helper index (source).
Read CONTRIBUTING.md on licensing.
For realtime communication about WebGPU spec and test, join the #WebGPU:matrix.org room on Matrix.