Manual-sync mirror of chromium.googlesource.com/external/github.com/gpuweb/cts.git
* Add shared support for WGSL immediate validation This patch adds the shared CTS plumbing needed by the follow-up WGSL `immediate` address space validation tests. It adds `immediate_address_space` to the known WGSL language feature list, models `immediate` in the address space metadata, and treats it as a module-scope, unbound, read-only address space with host-shareable store types. The validation helpers emit the required WGSL `requires` directive and skip immediate tests when immediate data is not exposed by the browser. The skip checks `setImmediates`/`maxImmediateSize` because current Chrome Canary exposes the API before advertising the WGSL feature. This also removes two now-unnecessary address-space type assertions that became redundant once the shared metadata was typed by `AddressSpace`. * Apply suggestions from code review Will remove them when real immediate case added. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Revert "Apply suggestions from code review" This reverts commit 55434a1ea18b176b33c1a25866938c99282f755c. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .github | ||
| .vscode | ||
| docs | ||
| src | ||
| standalone | ||
| tools | ||
| .eslint-resolver.js | ||
| .eslintignore | ||
| .eslintrc.json | ||
| .gitattributes | ||
| .gitignore | ||
| babel.config.js | ||
| CONTRIBUTING.md | ||
| cts.code-workspace | ||
| deploy_key.enc | ||
| Gruntfile.js | ||
| LICENSE.txt | ||
| node.tsconfig.json | ||
| package-lock.json | ||
| package.json | ||
| prettier.config.js | ||
| README.md | ||
| tsconfig.json | ||
| w3c.json | ||
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.