mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-26 05:25:53 +00:00
If we are copying a partial of rows, the buffer size doesn't need to be that large of the entire image which has "rowsPerImage" rows. There was a bug in texture copy splitter. And this workaround was introduced at https://dawn-review.googlesource.com/c/dawn/+/30741 in order to workaround that bug. D3D12 validation is actually correct. Now that we have fixed the bug at https://dawn-review.googlesource.com/c/dawn/+/52680/. The workaround is not needed. Bug: dawn:547, dawn:520 Change-Id: I92292c71dc5479fc2ba863eb9f897516bd1a96a0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/53360 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Yunchao He <yunchao.he@intel.com>