commit | 0bcf73ea6bf5b55a373dae5c03e7cf906f9e4874 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Sat Sep 09 09:33:59 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Sep 09 09:33:59 2023 +0000 |
tree | c01c2972ea8dcf5348a78fb9bc78dc72233a78d4 | |
parent | 4a7c5a0d1497a790e2b41e353915c183af2d07b4 [diff] |
Allow readwrite storage texture in pipelinelayout matches writeonly in shader This patch enables using read-write storage texture access in pipeline layout and declaring the correspondent storage texture as write-only in shader. Note that currently we still disallow read-write access in pipeline layout be compatible with read-only in shader as on D3D12 read-write access in pipeline layout will be implemented with an UAV, while read-only access in shader will consume an SRV slot. Bug: dawn:1972 Test: dawn_unittests, dawn_end2end_tests Change-Id: I26387eb4c57cd850bc7672db9a5a3b68a4f7f8ef Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/150560 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@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.