commit | 925f03f095058fa020c33a212887ba34bde6686a | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Oct 10 23:01:30 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 10 23:01:30 2024 +0000 |
tree | 6c7ff3ca718e44866f82166decb7201956c95966 | |
parent | 71c1d54494d08a2454baab208129a0122238946c [diff] |
[glsl] Name padding fields consistently Use a counter for padding fields that is unique to each structure. This ensures that their padding members are consistently named regardless of where in the module they are emitted, which in turn ensures that their names match between vertex and fragment shaders. Bug: 42251044 Change-Id: If7527f44be40824e4387712e21e686cef8620de0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/210334 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.