virgl: Make VIRGL_BIND_STAGING resources cacheable
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Tue, 4 Jun 2019 13:43:31 +0000 (16:43 +0300)
committerChia-I Wu <olvaffe@gmail.com>
Sat, 8 Jun 2019 04:45:33 +0000 (21:45 -0700)
commitccec1555c154a9c11b61127671c30553096856c8
tree1f83a394eabfad718e17008d9e0493cfb644e9ae
parent636345f496f1a7d96b8da108e416defe7440904f
virgl: Make VIRGL_BIND_STAGING resources cacheable

This could help performance when trying to recreate such resources for
copy transfers.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c