virgl: Properly check for encode_stride when encoding transfers
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 27 Apr 2020 07:16:49 +0000 (09:16 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 6 May 2020 06:04:58 +0000 (08:04 +0200)
commitb6a20804ad5afb401f1d86dc28460e922d009588
tree3740b5c2d405393ccce5cd91da4c6a6e1a1e7650
parent99fce3a6d71ee9970183b3545a4fbb8234b7fa35
virgl: Properly check for encode_stride when encoding transfers

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4763>
src/gallium/drivers/virgl/virgl_encode.c