virgl: do not warn about display-target binding
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 10 Apr 2019 10:22:34 +0000 (12:22 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 11 Apr 2019 07:53:22 +0000 (09:53 +0200)
commit7394ef4a7293e7ec6322faf18e7ddeef9c2c0183
tree8710bac34ae6d14fddde327796b47d1f80f54f23
parent27d94a83cd070baae1d0196194796ea4ef30691d
virgl: do not warn about display-target binding

We never want to display a transfer-temp surface, so let's ignore that
flag when calculating the new binding flags.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_texture.c