Zhaoming Jiang 1af81e3128 Validate the buffer offset in T2B and B2T for depth/stencil texture
This patch modifies the ValidateLinearTextureCopyOffset for T2B and B2T
commands to make sure that buffer offset is a multiple of 4 when the
texture is of a depth/stencil format. The unittests are also updated
to cover these cases.

Bug: dawn:721
Change-Id: I5cb9487e61e7f6ac7075157a092a1f3577844042
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/55720
Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-06-24 05:38:00 +00:00
..
2021-06-04 22:23:56 +00:00
2021-06-04 22:23:56 +00:00
2021-06-04 22:23:56 +00:00
2021-06-04 22:23:56 +00:00
2021-06-07 18:23:52 +00:00
2020-12-08 16:32:34 +00:00
2021-06-04 22:23:56 +00:00
2021-06-04 22:23:56 +00:00
2021-06-04 22:23:56 +00:00
2021-02-19 18:31:02 +00:00
2021-02-19 18:17:22 +00:00
2021-02-19 18:17:22 +00:00
2021-06-04 22:23:56 +00:00
2021-04-01 20:46:42 +00:00
2020-04-20 17:36:22 +00:00
2021-05-21 00:01:08 +00:00
2021-06-04 22:23:56 +00:00
2021-06-07 18:23:52 +00:00
2021-06-18 16:46:40 +00:00
2021-06-04 22:23:56 +00:00
2021-04-01 20:46:42 +00:00
2021-06-04 22:23:56 +00:00
2021-06-04 22:23:56 +00:00
2021-06-07 18:23:52 +00:00