commit | 9ae3ff6eee865192b7ce95da7a46474a638c0855 | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Wed Feb 07 18:42:58 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 07 18:42:58 2024 +0000 |
tree | 2137cfd7b533ccaf081aae3c907dd00fc12b5a87 | |
parent | ca9f38634fcf3f782eb59db1894046aa117e857a [diff] |
GLSL: run OFI if any stage uses firstInstance. Run the OffsetFirstIndex transform if either the vertex or fragment stage uses instance_index. This requires cooperation from Dawn, since Tint is unaware of the other shader stages being compiled. Bug: dawn:2185 Change-Id: Id6f019da2b9acb4bde0cca888920dc6e969109b0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/173741 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Stephen White <senorblanco@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.