virgl: make unmap queuing a bit more straight-forward
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 4 Apr 2019 14:52:21 +0000 (16:52 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 17 Apr 2019 07:27:08 +0000 (07:27 +0000)
commitac932ff82224d707fd03f615750707cf76c250dd
treec664e26feda01ccb1afca6def2e224b1f85b12df
parentb08e73308ec23399def414c6f6d5020496ffda9a
virgl: make unmap queuing a bit more straight-forward

It's hard to read the code that decides if we want to queue up an unmap
or destroy the transfer right away. So let's make it a bit simpler, by
setting a bool in case we want to queue it.

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