commit | bc6424b61f9ec1586b6109e75671fbdcc23da2af | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Thu Jul 25 12:08:49 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 25 12:08:49 2024 +0000 |
tree | b8b962df3e50413f7739b7d0c9fbbdd9772c68d5 | |
parent | 7e5114c3f5d0ae8cb00c89f53aae5f91cf8134b1 [diff] |
Don't allow using multiple color targets with dual source blending This patch adds a new validation to disallow using multiple color targets with dual source blending to follow the latest WebGPU SPEC. When `Src1` is used in the blend factor, there must be exactly one color target, as is required by D3D12. Bug: chromium:341973423 Test: dawn_end2end_tests Change-Id: Ia6f263d1e0f06887498b37fb66cc0e9b59493e64 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/200115 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: 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.