Jiawei Shao f905e57be2 D3D12: Add workaround for T2T copy issue on Intel GPUs
On Intel Gen9 (SKL) and Gen9.5 (KBL, CFL, CML) GPUs with latest
Intel D3D12 driver (27.20.100.9316), there is a bug in the command
CopyTextureRegion() when we want to do the texture-to-texture copy
with the formats whose texel block size < 4 bytes and source mipmap
level > destination mipmap level.

This patch adds a workaround for this driver bug by implementing
the functionality of the T2T copy with one T2B copy and one B2T
copy.

BUG=chromium:1161355
TEST=dawn_end2end_tests

Change-Id: I688bb8bae277832aaba1be2680012040ee8e1160
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/43860
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-03-11 19:34:50 +00:00
..
2021-01-05 02:39:18 +00:00
2020-06-19 21:39:23 +00:00
2020-04-10 19:04:42 +00:00
2020-12-08 16:32:34 +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-02-16 19:55:09 +00:00
2021-02-16 19:55:09 +00:00
2020-06-11 00:34:14 +00:00
2020-04-20 17:36:22 +00:00
2021-01-27 21:27:54 +00:00
2021-02-26 02:20:25 +00:00
2021-02-26 02:20:25 +00:00
2020-06-11 00:34:14 +00:00