Add immediate size validation cases for pipeline creation (#4573) * Add immediate size validation cases for pipeline creation Add cases to validate immediate size checks during both compute and render pipeline creation. * Adding assert to ensure test parameter valid * Address comments * Update src/webgpu/api/validation/pipeline/immediates.spec.ts Kai's way to make the case yield block more readable. Co-authored-by: Kai Ninomiya <kainino1@gmail.com> --------- Co-authored-by: Kai Ninomiya <kainino1@gmail.com>
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.