Add Internal ReadOnly Storage Buffer binding This is needed for the upcoming B2T emulation using shaders. The shaders only need to read a src buffer as readonly storage. We don't need a full-blown wgpu::BufferUsage::Storage for it. However, the current standard buffer binding validation will require wgpu::BufferUsage::Storage even if the buffer is readonly in the shader. So an extra internal readonly binding is needed. Bug: 348653642 Change-Id: I1541ebae4581b10fe4d88e2dcfaf0cfc1781857a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/230418 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Quyen Le <lehoangquyen@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Quyen Le <lehoangquyen@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.