mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-09 22:56:06 +00:00
Remove usage of the depth offset in TextureCopySplitter. Because there is no slice pitch alignment requirement, it is simpler to express the subresource footprint with just width and height. Fixes incorrect copies when using WriteTexture on a texture with 64 or less width. Bug: dawn:573 Change-Id: I51cb73b522a443b8b42d9ba290c69541211be4bb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/39200 Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Brandon Jones <brandon1.jones@intel.com>