mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
zink: flag the use_img as unsync access with buf2img copies, not the swapchain
these are not the same
Fixes: a0510b23f6f ("zink: add automatic swapchain readback using heuristics")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27606>
This commit is contained in:
parent
b8b51d96b0
commit
f827055cb4
1 changed files with 1 additions and 1 deletions
|
|
@ -4580,7 +4580,7 @@ zink_copy_image_buffer(struct zink_context *ctx, struct zink_resource *dst, stru
|
|||
zink_batch_reference_resource_rw(batch, buf, !buf2img);
|
||||
if (unsync) {
|
||||
ctx->batch.state->has_unsync = true;
|
||||
img->obj->unsync_access = true;
|
||||
use_img->obj->unsync_access = true;
|
||||
}
|
||||
|
||||
/* we're using u_transfer_helper_deinterleave, which means we'll be getting PIPE_MAP_* usage
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue