commit | 84550eab4978e961d531a8c5becfd17a520115c7 | [log] [tgz] |
---|---|---|
author | Lokbondo Kung <lokokung@google.com> | Wed Feb 26 19:11:40 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 26 19:11:40 2025 -0800 |
tree | a0364cfd74e75df0629e9dcd6f91f12427933344 | |
parent | 3297589bc4247e524ce2895ccbe846dd8982dbaf [diff] |
Reland "[dawn][headers] Flattens wgpu::*Limit structures." This is a reland of commit 5daa629d908c64159e1a12a1b5efdd257da108e3 Original change's description: > [dawn][headers] Flattens wgpu::*Limit structures. > > - Flattens wgpu::SupportedLimits and wgpu::RequiredLimits into > wgpu::Limits, adding extension support on wgpu::Limits in > the process. > - Note that because the C++ code-gen differentiates between > in/out structs right now, we are using 'out' for structs that > can be used for both in and out to ensure the const-ness > restrictions don't get hit. > - Also updates wgpu::InstanceCapabilities to use 'out' type for > the reason specified above. > - Updates all dependencies in Dawn for the change and adds a > #define for downstream users to use to update before landing > this change. > > Bug: 374263404 > Change-Id: Ib1a81fd3351dad2b1e2365bdc657619676599e5d > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/225294 > Reviewed-by: Kai Ninomiya <kainino@chromium.org> > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Commit-Queue: Loko Kung <lokokung@google.com> Bug: 374263404 Change-Id: I9c8ddfcb6dbb9f64c4910d477ed0553ae41b0489 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/228054 Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: Kai Ninomiya <kainino@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.