commit | 68d44a7006b8812c730669e81ebd472af559ba87 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Sat Feb 19 02:53:32 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Feb 19 02:53:32 2022 +0000 |
tree | 2ad8da0b3dd5a8887bda6c642c0806a672ddab51 | |
parent | 6e8c473fa51398715de04ae331c9c06da74d1d58 [diff] |
Add validations on the format of a resolve target This patch adds the validations on the format of a resolve target according to the latest updates in WebGPU SPEC. WebGPU SPEC only supports the below texture formats being used as the resolve target of a render pass encoder: - R8Unorm - RG8Unorm - RGBA8Unorm - RGBA8UnormSrgb - BGRA8Unorm - BGRA8UnormSrgb - R16Float - RG16Float - RGBA16Float - RGB10A2Unorm BUG=dawn:1244 TEST=dawn_unittests Change-Id: I16f9c3984f4ffb4641f4f43ecdb3cc76be6a562a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81080 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.