commit | 71c1d54494d08a2454baab208129a0122238946c | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Oct 10 23:01:19 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 10 23:01:19 2024 +0000 |
tree | e04a85c6301a0a28f36391f28e79ef953f72405f | |
parent | 074e17e34a1b0d0c46408458ad46bbaa402216ce [diff] |
[glsl] Propagate names to block struct wrappers Dawn adds prefixes to buffer names to ensure that names do not clash between vertex and fragment shaders used in the same pipeline. We also need to use a consistent name for the inner struct member so that GLSL can match them between stages properly. Bug: 42251044 Change-Id: Ie50c403f9fa8464dde1b98333d9bbe79855986f6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/210274 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@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.