commit | 02f1ad760b94582e4386d2f6ac2992bfda0b26d2 | [log] [tgz] |
---|---|---|
author | Le Hoang Quyen <lehoangquyen@chromium.org> | Thu Nov 23 14:19:04 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 23 14:19:04 2023 +0000 |
tree | 2a1c1d545d9717bf32f806fb50cc4fc885756f34 | |
parent | a5460d0c97c7c07a49e65fdbfeed1af6ff41f7e4 [diff] |
BufferMapExtendedUsages now supports (MapRead | MapWrite). This CL removes the restriction that MapRead & MapWrite cannot be combined. The restriction was originally intended to make it easier to optimize buffer's usage flag in D3D11. However, it turns out it's unnecessary because regardless of it the D3D11 backend still wouldn't be able to support BufferMapExtendedUsages feature efficiently. When MapRead is specified, D3D11 requires that the buffer must only be used in copy operations. It cannot be used in a draw call. Therefore BufferMapExtendedUsages feature is not intended to be enabled in D3D11 backend for now and the original restriction meant for it will be lifted. Bug: dawn:2204 Change-Id: I4a0ca2f920af8b151b269e8136c99b0e9dadbe2b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/162340 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Quyen Le <lehoangquyen@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
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.