mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
virgl: wait for the right resource
In case we're resolving, we need to wait for the resolved resource instead of the original one. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
This commit is contained in:
parent
6263304b2d
commit
fc8b1ca33a
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ static void *virgl_texture_transfer_map(struct pipe_context *ctx,
|
|||
vs->vws->transfer_get(vs->vws, src_res->hw_res, box, trans->base.stride,
|
||||
trans->l_stride, trans->offset, level);
|
||||
|
||||
vs->vws->resource_wait(vs->vws, vtex->hw_res);
|
||||
vs->vws->resource_wait(vs->vws, src_res->hw_res);
|
||||
}
|
||||
|
||||
ptr = vs->vws->resource_map(vs->vws, src_res->hw_res);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue