commit | 7886ef1e3046d151b185d63812b7deb12b8f070b | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Wed Jun 12 02:26:57 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 12 02:26:57 2024 +0000 |
tree | 338c17f4cffe343eb2f05a9a7ac5164e5179bfbc | |
parent | 20fece2edbd49c15dbffdf7d088b5da196637c62 [diff] |
Disallow using `@blend_src` on a non-struct fragment output This patch adds validation to disallow using `@blend_src` on a non-struct fragment output. `@blend_src` can only be used on a member of a struct. This patch also fixes and removes several existing tests where `@blend_src` is directly used on a non-struct fragment output. Bug: chromium:341973423 Test: tint_unittests Change-Id: Ib9e97d2f01c8d3b8185f27316b11498dcc263548 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/192824 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.