| commit | 059fc24452245f1964140ca2bc8890fa52e1d19e | [log] [tgz] |
|---|---|---|
| author | Shrek Shao <shrekshao@google.com> | Mon Nov 17 11:29:26 2025 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 17 11:29:26 2025 -0800 |
| tree | 3863b9125be1b6d78de4f2b9db058c6c47c28d1f | |
| parent | 5817b2393fbbb2f688b7be0fd12ad96c834094e5 [diff] |
[WebGPU backend] Make sure RenderBundle is created once and reuse at ExecuteBundles Make native::RenderBundle extensible and make webgpu::RenderBundle. Make a virtual Device::CreateRenderBundle and only override it in webgpu backend to create the inner render bundle encoder and the inner render bundle. Bug: 413053623 Change-Id: I19be8d2ef137637b2af72c96314466680fa212c8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/272796 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Shrek Shao <shrekshao@google.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.