Skip to content
Commit 4136c4e0 authored by Gert Wollny's avatar Gert Wollny Committed by Juan A. Suarez Romero
Browse files

virgl, vtest: Correct the transfer size calculation



The transfer size used in virglrenderer refers to uint32_t, so one
must add 3 and then divide by 4 instead of adding 3/4 which is a no-op
with integers.

Fixes: b3b82fe8 virgl/vtest: add vtest driver

Signed-off-by: default avatarGert Wollny <gert.wollny@collabora.com>
Reviewed-by: default avatarGurchetan Singh <gurchetansingh@chromium.org>
(cherry picked from commit 5d7858f1)
parent 2006c708
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment