commit | ffa83ad1f74d664b4382bf07c4102b6a6ff3a67b | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Tue Dec 20 17:13:39 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 20 17:13:39 2022 +0000 |
tree | e2e91e5d66c2fc71f07388ec980bcea6873bb497 | |
parent | c4673b73862780b9f274695251b31459a6ee994a [diff] |
tint: make utils::Bitcast not trigger gcc warning When useing Bitcast to or from a class type, gcc warns even if the type is trivially copyable. Fixed this by static_asserting that both types are trivially copyable, and casting the pointers to std::byte*. Change-Id: Ibb420f2dcdd35cfb187d74983fa8ab9b50d10c85 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/115180 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.