commit | 48aa946c141b86e55a7ab1c955a98aa214a8d5f5 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Jun 10 09:50:23 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 10 09:50:23 2024 +0000 |
tree | dc85ef28a29e2772756406f7affde6d774b491e7 | |
parent | 2894183de5ff2dcc9d75072b91c8bb5f2caa5952 [diff] |
Make wgpu::CompositeAlphaMode::Auto handled in the frontend. The is required to not be reported by wgpu::Surface::GetCapabilities, always valid, and equivalent to caps.alphaMode[0]. Remove it from the capabilities returned by backend, handle defaulting in the frontend and add tests for the new validation rules. Bug: 42241264 Change-Id: Id71967380d1c6c66ede7a01a552c14aadb0e094c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/192184 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> 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.