vkr: use virgl_resource_export_fd to get fd and type

The resource can be pipe_resource in our use cases.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
1 file changed