virgl: resolve to correct level during texture read
authorChia-I Wu <olvaffe@gmail.com>
Mon, 3 Jun 2019 18:39:34 +0000 (11:39 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 4 Jun 2019 21:37:03 +0000 (21:37 +0000)
When PIPE_TRANSFER_READ requires a resolve, we blit from the host
storage to a temporary storage, and do a format conversion from the
temporary storage to the guest storage.  This change makes sure we
convert to the correct level of the guest storage.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>

No differences found