virgl: fix virgl_buffer_transfer_extend
authorChia-I Wu <olvaffe@gmail.com>
Wed, 10 Jul 2019 07:33:29 +0000 (00:33 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Sat, 20 Jul 2019 01:04:34 +0000 (18:04 -0700)
commit2b8ad8807822b0b314798f99e1f656371d1fe2e8
tree1f1d854c8156d2d79e3d71838f45f4e13a5adc1a
parentbcabf75ab7d044e516aa5f92e0b7dc49cfa29d7c
virgl: fix virgl_buffer_transfer_extend

Without setting hw_res, virgl_transfer_queue_extend never finds a
match and always returns NULL.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_resource.c