commit | 21495914ce7e1d5479bc695cf6e1348d6dbf6f4d | [log] [tgz] |
---|---|---|
author | jzm-intel <84498356+jzm-intel@users.noreply.github.com> | Tue Sep 07 16:51:29 2021 +0800 |
committer | GitHub <noreply@github.com> | Tue Sep 07 16:51:29 2021 +0800 |
tree | 3c5f117f34551a59995b43325f81addeb6acc371 | |
parent | bcdc8e3c3a721636487cecbc092c615404bae55f [diff] |
Add always fail test for dry run test (#737) * WIP * Implement veretx_access validation test: Part 1 The test webgpu:api,validation,vertex_access:* tests validation related to vertex buffer access. In this patch I implement the validation tests for createRenderPipeline (on its VertexStage validation), setIndexBuffer and setVertexBuffer. The validation tests for draw, drawIndexed and drawIndirect are still left to be implemented in next part. * Remove debug printing. * code refactor * Temporarily remove some test code, and do code refactor * Code reduction. Remove code and test desc unused yet. * Fix the index count. * Only keep the test for buffer usage validation in set*Buffer. * Remove code unused yet * Code refactor, and add wgslType in kVertexFormatInfo * Remove unused @return from jsdoc * Clean up TODOs, and organize the test with description added. * Fix errors of special characters. * Fix misnaming * Test plan review * Organize the tests into detailed categorized files, and removed duplicated test. * Fix the test plan * Fixing testing plan * Update src/webgpu/api/validation/encoding/cmds/render/draw.spec.ts * Always fail test for dry run testing 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.