mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-14 09:06:11 +00:00
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>