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.