virgl: Set meta data for textures from handle.
authorLepton Wu <lepton@chromium.org>
Wed, 17 Jul 2019 17:02:20 +0000 (10:02 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 17 Jul 2019 23:17:48 +0000 (16:17 -0700)
commit6109df58e4abe18a0db589c3cebf21cbf0211197
treed23575ae8b6ccbda4ea910485dbc9150e5296cc4
parentf1a89673448227dc22651b0b2d9fc05cbf5d928e
virgl: Set meta data for textures from handle.

The set of meta data was removed by commit 8083464. It broke lots of
dEQP tests when running with pbuffer surface type.

Fixes: 80834640137 ("virgl: remove dead code")
Signed-off-by: Lepton Wu <lepton@chromium.org>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/virgl/virgl_resource.c