commit | 7f4980e7d265d3f2e984dd316dccdb28a9dd86bf | [log] [tgz] |
---|---|---|
author | Tomek Ponitka <tommek@google.com> | Fri Jul 17 09:45:26 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Fri Jul 17 09:45:26 2020 +0000 |
tree | 682df8a9ecba5d0876d2c30c76e4fc4094682b72 | |
parent | 73652263dfc03ecb2de8dcd5d686b009613af5e3 [diff] |
Optimizing WriteTexture offset on Vulkan Added an additional alignment on the staging buffer offset in WriteTexture on Vulkan to match VkPhysicalDeviceLimits::optimalBufferCopyOffsetAlignment. We now allocate some additional memory in the staging buffer for that purpose. Bug: dawn:483 Change-Id: Ic5b95aa57f6c241e0ab9f9853b4c3152e52e5630 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24982 Commit-Queue: Tomek Ponitka <tommek@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@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.