virgl: honor DISCARD_WHOLE_RESOURCE in virgl_res_needs_readback
authorChia-I Wu <olvaffe@gmail.com>
Tue, 14 May 2019 17:14:03 +0000 (10:14 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 15 May 2019 20:51:28 +0000 (20:51 +0000)
commitcdcf38b98a7bfdfda5836d6a4cebb6cca074e5ff
treeba623b9f23f0b15c137460a2b0279dea7ba6f6f3
parenta62ab178cecadae8ead16c0910707c2218e856e7
virgl: honor DISCARD_WHOLE_RESOURCE in virgl_res_needs_readback

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
src/gallium/drivers/virgl/virgl_resource.c