|author||Jiawei Shao <firstname.lastname@example.org>||Fri Jan 21 02:05:47 2022 +0000|
|committer||Dawn LUCI CQ <email@example.com>||Fri Jan 21 02:05:47 2022 +0000|
Add validation on blend factors and blend operations This patch adds validations on blend factors and blend operations according to the latest WebGPU SPEC: If component.operation is "min" or "max": component.srcFactor and component.dstFactor must both be "one". BUG=dawn:1257 TEST=dawn_unittests Change-Id: Id17c06044900eb0fa8d2ebab6fd3132f9deb157a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/76480 Reviewed-by: Loko Kung <firstname.lastname@example.org> Commit-Queue: Jiawei Shao <email@example.com>
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.hversion that Dawn implements.
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.