mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 18:30:09 +01:00
zink: flag dmabufs for foreign queue transition on flush_resource call
this is needed by ext_external_objects Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15810>
This commit is contained in:
parent
32c34e93aa
commit
e13f04fcf0
1 changed files with 2 additions and 1 deletions
|
|
@ -3379,7 +3379,8 @@ zink_flush_resource(struct pipe_context *pctx,
|
|||
ctx->needs_present = res;
|
||||
}
|
||||
ctx->batch.swapchain = res;
|
||||
}
|
||||
} else if (res->dmabuf)
|
||||
res->dmabuf_acquire = true;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue