virgl: Don't allow creating staging pipe_resources
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Thu, 27 Jun 2019 07:48:50 +0000 (10:48 +0300)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 28 Jun 2019 04:30:02 +0000 (04:30 +0000)
commit7da90a7cc909f691f97473be1e864aeccd5a587b
tree0df785ecf4204ebd38b15e9f1fd076e3a75a0239
parent5388be039bc8dc4c0ed2875d0ca35c6f37053948
virgl: Don't allow creating staging pipe_resources

Staging buffers are now created directly by the virgl_staging_mgr. We
don't need to support creating staging pipe_resources.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/virgl/virgl_buffer.c
src/gallium/drivers/virgl/virgl_resource.h
src/gallium/drivers/virgl/virgl_texture.c