mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-05 12:46:11 +00:00
This patch fixes a bug in the allocation of internal staging buffer for Queue::WriteTexture() that we must ensure the buffer offset to be 4 bytes when calling Queue::WriteTexture() on depth stencil textures as is restricted by Vulkan SPEC. BUG=dawn:1213 TEST=dawn_end2end_tests Change-Id: Ia2d073ef12d48baff42fca97005c1185c9560f1c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71605 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>