[M147] [dawn][opengl] Fix size of MappedAtCreation mapping Original change's description: > [dawn][opengl] Fix size of MappedAtCreation mapping > > The updated test catches this with ASan in the case where GLDefer is > enabled (which it does) but the bug also exists in the non-GLDefer case. > Just can't catch it with ASan. > > There isn't an equivalent issue in the non-MappedAtCreation case because > the buffer is initialized from the GPU (even if it's mappable, though in > that case the usage can't have Uniform anyway so the size isn't rounded > up). > > Fixes: 500774812 > Change-Id: Iaf7f4b8ee5b69c4f5a41f39d10d2cce9cfd983e5 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/302195 > Commit-Queue: Kai Ninomiya <kainino@chromium.org> > Auto-Submit: Kai Ninomiya <kainino@chromium.org> > Reviewed-by: Quyen Le <lehoangquyen@chromium.org> (cherry picked from commit 493241c40dc94ca283c5e2b42a03911df870f359) Bug: 501627927 Change-Id: Iaf7f4b8ee5b69c4f5a41f39d10d2cce9cfd983e5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/303236 Commit-Queue: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Chrome Cherry Picker <chrome-cherry-picker@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.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.