commit | b4b916a7029456927f5257adc7881348fce3cd75 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Sep 08 17:14:30 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 08 17:14:30 2023 +0000 |
tree | 0fe2f02b4f31f2ec4804c338dc2139429d9f4f5a | |
parent | b2c4cdf46287c12fa2b7e05b6c234e561042fd8c [diff] |
Add the validation for PixelLocalStorage. The AttachmentState is modified to contain the PLS state as it is part of the compatibility between a render pass and a render pipeline. Minimal fixes to dawn.json for GPU sizes. Adds tests for the added validation. Bugs found with tests: - The AttachmentState should different between no PLS and empty PLS. - Missing usage tracking. - Attachment state blueprint init didn't copy mHasPLS - Pipeline layout hash/equality wasn't updated for PLS. - webgpu_absl_format didn't handle no PLS vs. empty PLS. Bug: dawn:1704 Change-Id: If56bf8748c29d13f8d2ee1290b79e039fffc790d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/147500 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Quyen Le <lehoangquyen@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.