commit | 6e4581343156949e7d895534962859ce3b63c37f | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Sat Feb 03 01:48:51 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Feb 03 01:48:51 2024 +0000 |
tree | 3b329cc9bc6cac5998fca2b474d816179093e15f | |
parent | 5e35dab340375e2265ff02bbd9e2831d022f7c28 [diff] |
GLSL: fix bug with padded struct members. When the same struct is reused as a uniform variable in both vertex and fragment stages, the padding members may have different names, causing an error at GLSL link time. The fix is to ensure struct member name uniqueness only within a given struct, not throughout the shader. Bug: tint:2152 Change-Id: If71aa27eeeedb27c27711ee6785319b412929dfa Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/172381 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: 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.