Update validation of bind groups usage (#5405)

Fixes #5384

Requires that any resources used by any bind groups set during command
encoding must be live/valid/not destroyed. This is a behavior change
from the prior text, which suggested that only resources used by a
"command" (presumably a draw/dispatch) were validated.

The updated validation described in this change matches the WebGPU CTS
and the behavior of multiple implementations.

---------

Co-authored-by: Andy Leiserson <aleiserson@mozilla.com>
1 file changed
tree: f55342a1e30b17f10b616dbf78111846011e223d
  1. .devcontainer/
  2. .github/
  3. .vscode/
  4. correspondence/
  5. design/
  6. explainer/
  7. logo/
  8. process/
  9. proposals/
  10. spec/
  11. tools/
  12. wgsl/
  13. .clang-format
  14. .dockerignore
  15. .gitattributes
  16. .gitignore
  17. CONTRIBUTING.md
  18. LICENSE.md
  19. Makefile
  20. README.md
  21. w3c.json
README.md

W3C GPU for the Web Community Group

This is the repository for the W3C GPU for the Web Community Group WebGPU API and WebGPU Shading Language (WGSL) specifications. This specification is formally standardized by the W3C GPU for the Web Working Group.

We use the wiki and issue tracker as the main sources of information related to the work. This repository will hold the actual specification, examples, etc.

Work-in-progress specification: https://gpuweb.github.io/gpuweb/

Work-in-progress WGSL specification: https://gpuweb.github.io/gpuweb/wgsl/

Charter

The charter for this group is maintained in a separate repository.

Membership

Membership in the Community Group is open to anyone. We especially encourage hardware vendors, browser engine developers, 3d software engineers and any Web Developers with expertise in graphics to participate. You‘ll need a W3C account to join, and if you’re affiliated with a W3C member, your W3C representative will confirm your participation. If you‘re not a W3C member, you’re still welcome. All participants are required to agree to the Contributor License Agreement.

Contributions

You are not required to be a member of the Community Group or Working Group in order to file issues, errors, fixes or make suggestions. Anyone with a GitHub account can do so.

All contributions must comply with the group's contribution guidelines.

See CONTRIBUTING.md for technical guidance on contributing.

Code of Conduct

This group operates under W3C's Code of Conduct Policy.

Communication

Our primary public chat channel is via Matrix (what is matrix?) at #WebGPU:matrix.org.

For asynchronous concerns, we use GitHub for both our issue tracker and our discussions forum.

Both the Community Group and the Working Group have W3C email lists as well, though these are largely administrative.