Skip to content
Commit d42bf4f0 authored by Erik Faye-Lund's avatar Erik Faye-Lund Committed by Juan A. Suarez Romero
Browse files

virgl: adjust strides when mapping temp-resources



When we're mapping temp-resources, we clip the resource to the
transfer-box, which means the stride might not be correct any more.

So let's update the stride from the temp-resource, and recompute the
layer-stride.

This fixes crashes when running dEQP with --deqp-gl-config-name=rgba8888d24s8ms4

Signed-off-by: default avatarErik Faye-Lund <erik.faye-lund@collabora.com>
Fixes: a8987b88 "virgl: add driver for virtio-gpu 3D (v2)"
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit fa5e9f1f)
parent 5b58be35
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