commit | 2008d15326a7249d783b616fe52d9f75f6bcf285 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Jun 30 11:05:44 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Jun 30 11:05:44 2020 +0000 |
tree | 6cfa824d6f7042134a1d6445301684f46adf66ea | |
parent | bae16b4df9d7383834745a5d31f8d4b0d745a455 [diff] |
Buffer: Always use MappedAtCreation state when applicable. In a follow-up CL we need to know if the buffer is in the MappedAtCreation state for validation of GetMappedRange. Having the state not 100% reflect the state in the spec meant that validation if GetMappedRange would fail for buffers mapped at creation for which IsMapWritable is true. Bug: dawn:445 Change-Id: I4a64335a708b838526da8d65f907b21c782816e0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23981 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.