mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
zink: remove redundant dmabuf_acquire setting
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21733>
This commit is contained in:
parent
2fd2133c9d
commit
d7b04c110b
1 changed files with 0 additions and 1 deletions
|
|
@ -1232,7 +1232,6 @@ resource_create(struct pipe_screen *pscreen,
|
|||
res->need_2D = (screen->need_2D_zs && util_format_is_depth_or_stencil(templ->format)) ||
|
||||
(screen->need_2D_sparse && (templ->flags & PIPE_RESOURCE_FLAG_SPARSE));
|
||||
}
|
||||
res->dmabuf_acquire = whandle && whandle->type == WINSYS_HANDLE_TYPE_FD;
|
||||
res->dmabuf = res->dmabuf_acquire = whandle && whandle->type == WINSYS_HANDLE_TYPE_FD;
|
||||
res->layout = res->dmabuf_acquire ? VK_IMAGE_LAYOUT_PREINITIALIZED : VK_IMAGE_LAYOUT_UNDEFINED;
|
||||
res->linear = linear;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue