commit | 8531c7049b1a285e1bf415f53112a4d410fb8092 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Fri Feb 02 09:50:03 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 02 09:50:03 2024 +0000 |
tree | ba341ad0c41e98561715e26aec09fbabf22d29e3 | |
parent | ede1260794d7d1af9c2e501885a05b4a9aa64ff5 [diff] |
Save all binding layouts in an std::variant in BindingInfo This patch uses std::variant to represent 4 possible member types in BindingInfo (BufferBindingLayout, SamplerBindingLayout, TextureBindingLayout, StorageTextureBindingLayout) as logically at any time only one of them can be used. Bug: dawn:527 Change-Id: If83d8fa282a0d4092051ef54a97369d70a3fb531 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/172460 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@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.