commit | 4f1fb3b07c6c3e6dd56e9cb2f4ee4b0d40f2715b | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Nov 14 15:02:39 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 14 15:02:39 2023 +0000 |
tree | 4723c34efbc5a6b1cfe64f068cc66cd3c3acbbeb | |
parent | 81142c63cd99b88d09996681e9765dca1bf675a1 [diff] |
Add validation for Framebuffer Fetch This adds the reflection of the framebuffer inputs from Tint, and validation that these inputs match the render pipeline's color state. Also adds tests, docs, rename a couple identifiers and restructure the ColorState validation to do less casting. Tests found the following bugs during development: - Forgot to skip over unused framebuffer inputs during validation. - Forget to update SetWGSLExtensionAllowList. - Indexed with I instead of J in a test. Bug: dawn:2195 Change-Id: I367626b07c5b3fc0bb7008439170e8c3aa66abd8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/160581 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Ben Clayton <bclayton@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.