commit | a2e68d67b2f98e693fdcaf7c6f4bed32812a3df5 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Fri Aug 18 00:15:44 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 18 00:15:44 2023 +0000 |
tree | 96524a8e238d54a47046662d33edeb6d46f968eb | |
parent | 0af86f2f24c4473b68276ac82179ffc483b4381d [diff] |
Support creating pipeline with ReadOnly and ReadWrite storage texture This patch adds the support of creating pipeline with ReadOnly and ReadWrite storage texture access, which can only be used with the extension chromium_experimental_read_write_storage_texture. In addition, ReadWrite storage texture access can only be used with the formats that support being used as read-write storage texture. This patch also adds a unit test to verify the storage texture access in shader must match the one in pipeline layout when we create a pipeline with storage texture. Bug: dawn:1972 Test: dawn_unittests Change-Id: Idb6bf2503e0325ce82d77c0eec98ba576f20a5c9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/147183 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
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.