commit | d164d6959a2eb3d226d6c0a9efdf128bf83a5ff1 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Fri Jun 07 01:50:52 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 07 01:50:52 2024 +0000 |
tree | 44d445236b5c1bd1894d1d2bd0dad328f01cccab | |
parent | 80a5bef3e7d3c8380185f3fbba833dfd300db1ad [diff] |
Fix build error when `@blend_src(1)` is declared before `@blend_src(0)` This patch fixes a build error when `@blend_src(1)` is declared before `@blend_src(0)` by always saving the type information of `@blend_src(1)` in metadata->fragmentOutputVariables[0] in ShaderModule to ensure metadata->fragmentOutputVariables[0].blendSrc is always 1 when dual source blending is used in the fragment shader. Bug: chromium:341973423 Test: dawn_unittests Change-Id: Id3944ab87dabf1dc986ea69802964f4ce0b45445 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/191721 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Austin Eng <enga@chromium.org> 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.