commit | 2574827cf13bc14f78cb40da08ab6f24f8bb9d55 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Oct 08 20:05:30 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 08 20:05:30 2024 +0000 |
tree | f6f0b7ab73433b43cb0b328376e6afd9fa2bdb74 | |
parent | 34a321b6599fa7ef366b9504267ee582ae5ba1b9 [diff] |
[glsl][ir] Add struct padding members This CL adds the needed explicit padding to structs which are host-shareable. This is done in the printer to ease implementation, we inject the new members when emitting the struct, and then we emitting a constant or constructed struct we inject the padding members. Other access work as expected as the member indices don't change. Bug: 42251044 Change-Id: Id81a9acab917b991d1a8b55e9b78b34ee6237d6d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/209874 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@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.