commit | 5daa629d908c64159e1a12a1b5efdd257da108e3 | [log] [tgz] |
---|---|---|
author | Lokbondo Kung <lokokung@google.com> | Tue Feb 25 01:15:20 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 25 01:15:20 2025 -0800 |
tree | 187cc69c0dbc8611b44992ac275e81ed10d4c4e1 | |
parent | 78985bfaae9edccb88d55eb7c2bb244cf3bc9d20 [diff] |
[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>
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.