Add/update destruction handling for command encoding objects - Renames ProgrammablePassEncoder to just ProgrammableEncoder since it is also used in RenderBundleEncoder which is not a "pass" - Adds testing infrastructure to further test device errors - Ensures AttachmentStates are de-reffed when encoder objects are destroyed for proper cleanup - Makes sure that both encoded and partial encoded commands are freed at destruction Bug: dawn:628 Change-Id: Id62ab02d54461c4da266963035e8666799f61e9a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/68461 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Loko Kung <lokokung@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h version that Dawn implements.webgpu.h.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.