commit | b5c7b77c777719f62ebd164a95951a8817cff462 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Nov 05 18:23:06 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 05 18:23:06 2024 +0000 |
tree | d480b0158367eb932e43e0e5948f775530c2d0fe | |
parent | 9f48c2794678bdf17038cdba0604fd361616e826 [diff] |
[dawn] Support additional 1-component vertex formats As well as unorm8x4-bgra. These formats weren't added to WebGPU earlier as they were not available on macOS 10.13 and below. They are now guaranteed on all platforms that support WebGPU and we can add them. The Tint vertex pulling transform is updated to support the new formats, but unorm8x4-bgra will require an additional transform for GLSL that swizzles some of the attributes. Bug: 376924407 Change-Id: I9779a5b732528920e12c55d16a3507e78e94481e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/213435 Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Corentin Wallez <cwallez@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.