commit | 53a0aae32a0ad1c67e8de6f98500504878473465 | [log] [tgz] |
---|---|---|
author | Gregg Tavares <gman@chromium.org> | Thu Feb 22 18:51:17 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 22 18:51:17 2024 +0000 |
tree | 022bd55f30dc8042d3b134c71a290a83bbfda130 | |
parent | 3d3ce0e27bd4e10e2fa199953a795e9d12ba785a [diff] |
Compat: Handle index buffer offset with indexed indirect draw. The validation is already copying and updating all of the indirect draw buffers so this just adds the adjustment to update the firstIndex parameter when copying. Validation would always be on for WebGPU in the browser. Emits an error if validation is off and the index buffer offset is non-zero. Bug: dawn:161 Change-Id: I385f5a8907edd85a9c44652d495b11dd4710b5a8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/174400 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Stephen White <senorblanco@chromium.org> Commit-Queue: Gregg Tavares <gman@chromium.org>
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.