virgl/vtest: fix front buffer flush with protocol version 0.
authorDave Airlie <airlied@redhat.com>
Thu, 27 Dec 2018 06:09:19 +0000 (16:09 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Dec 2018 06:50:38 +0000 (16:50 +1000)
commitd1ce7eba8b056bfd7d8f29cc0f583777a7ee30e5
tree0a046e279e3284209fcfc9aa9adbd5e34745998c
parent6adbd9ac7434f7c1824821075034ee774b5d36ae
virgl/vtest: fix front buffer flush with protocol version 0.

Older versions of virglrenderer before 33da7361aec486290df0aec4ad8dfa8ff6adde2c
in vtest mode, misrender gears.

Fixes: 9d81cd8e7c (virgl: Pass resource size and transfer offsets)
Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c