Draw vertex buffer access test for vertex step mode buffer (#1450)

In this PR the vertex step mode vertex buffer OOB validation in draw calls is tested. It test that encoder.draw will validate vertex step mode vertex buffer satisfing `bound size >= (strideCount - 1) * arrayStride + lastStride` iif strideCount > 0, and other draw call types do not validate vertex step mode vertex buffer OOB.

Issue: #906
1 file changed
tree: 56290b1a912700d23301099c3761a36c8b0023a6
  1. .github/
  2. .vscode/
  3. docs/
  4. src/
  5. standalone/
  6. tools/
  7. .eslint-resolver.js
  8. .eslintrc.json
  9. .gitattributes
  10. .gitignore
  11. babel.config.js
  12. CONTRIBUTING.md
  13. cts.code-workspace
  14. deploy_key.enc
  15. Gruntfile.js
  16. LICENSE.txt
  17. node.tsconfig.json
  18. package-lock.json
  19. package.json
  20. prettier.config.js
  21. README.md
  22. tsconfig.json
  23. w3c.json
README.md

WebGPU Conformance Test Suite

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.

Launch the standalone CTS runner / test plan viewer

Contributing

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.