virgl: remove support for buffer surfaces
authorChia-I Wu <olvaffe@gmail.com>
Mon, 13 May 2019 17:42:08 +0000 (10:42 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 22 May 2019 16:28:19 +0000 (09:28 -0700)
commit440982cdd6e50797853eb78b6edf9401ba5a93b8
treeb0f24a09ba622b5816b1b43acbb73601dc76109c
parentfa9afb9de0379d47892eca2ec826c1bdb5caacd2
virgl: remove support for buffer surfaces

st/mesa does not need it and virglrenderer does not really support
it.  Remove the support so that we are sure pipe_surface never
refers to a buffer resource.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_encode.c