commit | 7f265d1d4074c874cec2c0d86803528ea4baeae9 | [log] [tgz] |
---|---|---|
author | Tomek Ponitka <tommek@google.com> | Thu Aug 20 11:25:49 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Aug 20 11:25:49 2020 +0000 |
tree | 34ae335fa05fadeb62319d0f9e432b25ed2e7157 | |
parent | eff9ef0f22129c7dcf7291a2d744ec1816092341 [diff] |
Fixing offset alignments when using DynamicUploader When using a dynamic uploader we didn't align the offset that the allocated memory might have already had. That fixes WriteTexture, WriteBuffer, ClearTexture and on D3D12 ClearBuffer. Bug: dawn:512 Change-Id: I64c7511ad6b0d3d6a28a494e1324a10ad4d38091 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/27020 Commit-Queue: Tomek Ponitka <tommek@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: 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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.