commit | f1dc9e3d64c0e3cbda04b5fe52d9a4c58b48022b | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Feb 08 17:47:19 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 08 17:47:19 2024 +0000 |
tree | 945268e30da086734c43c3ddce060139b3d072c5 | |
parent | 328ffe7fbbc04ae41312347d1a9ab6d7a8bfe2dc [diff] |
[tint] Improve TINT_ASSERT_ALL_FIELDS_REFLECTED() Field and class alignment could result in false positives. Migrate the assertion from a compile-time static assertion, to a google-test ASSERT_EQ(). This allows the test to check the individual field offsets, which results in a more accurate detection of missing fields. Note: There is still an unavoidable false-negative if the class has an alignment that hides a missing tail field. Change-Id: Ia284cc1d1220b51e2805d42e22dda2dfeff93b6f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/173960 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@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.