commit | ede7633a108a67510e1ed9b94a759e6a473c6bff | [log] [tgz] |
---|---|---|
author | Shrek Shao <shrekshao@google.com> | Tue Aug 13 16:04:52 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 13 16:04:52 2024 +0000 |
tree | 3f701f283035d9ee668a7536ff6b409c41446c4c | |
parent | f60fdcc9ae4b26500df90eee8a8cb16f1625b1bf [diff] |
[Compat] Use @size attribute for glsl pad struct Instead of round up all uniform struct size to 16-byte. Use @size attribute with a size roundup to 16. This should fix a bunch of issues where a struct is shared by a uniform and storage block. Bug: 353807786 Change-Id: I91f2c44291070152dda7c3ac8604adb0eb2efb01 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201816 Reviewed-by: James Price <jrprice@google.com> Reviewed-by: Stephen White <senorblanco@chromium.org> Commit-Queue: Shrek Shao <shrekshao@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.