Revert "Adds destroy handling for simple objects without new backend changes yet." This reverts commit 9901c710d1f834fd3e98356f0842553e1ac4afb2. Reason for revert: Breaking dawn roll due to include in ShaderMock Original change's description: > Adds destroy handling for simple objects without new backend changes yet. > > Simple objects are defined here as objects that do not already have a destroy or destroy-like API available. They include: > - BindGroups > - ComputePipelines > - PipelineLayouts > - RenderPipelines > - Samplers > - ShaderModules > - SwapChains > > Changes include: > - Adds necessary constructors for testing and caching > - Adding mock objects, mock constructors, and tests > > Bug: dawn:628 > Change-Id: I26a5e37bc5580b9064db299a75ef1243521b266a > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/65864 > Commit-Queue: Loko Kung <lokokung@google.com> > Reviewed-by: Austin Eng <enga@chromium.org> # Not skipping CQ checks because original CL landed > 1 day ago. Bug: dawn:628 Change-Id: Ic727106f3dc701dc25418adf9824fbc5397aa656 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/67960 Reviewed-by: Loko Kung <lokokung@google.com> 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.