virgl: make transfer code with PIPE_BUFFER targets
authorGurchetan Singh <gurchetansingh@chromium.org>
Sat, 1 Dec 2018 02:08:14 +0000 (18:08 -0800)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 19 Dec 2018 12:29:16 +0000 (13:29 +0100)
commit4e2c77cd512ccd98c08a361fc9889286c44ad4ea
tree541cd8b30a66fcc952cb3fa21f11ede65b35f890
parent174f530008c1b22ede7c67995f693b3d84f2a488
virgl: make transfer code with PIPE_BUFFER targets

util_format_get_blocksize returns 1 for R8 formats (all
PIPE_BUFFERs are R8).

Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
src/gallium/drivers/virgl/virgl_resource.c