zink: flag anv for mesa image create wsi
the image creation wsi is used, but the memory creation wsi isn't Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10180>
This commit is contained in:
parent
104603fa76
commit
3622df7ab2
|
@ -425,7 +425,7 @@ resource_object_create(struct zink_screen *screen, const struct pipe_resource *t
|
|||
.scanout = true,
|
||||
};
|
||||
|
||||
if (screen->needs_mesa_wsi && scanout) {
|
||||
if ((screen->needs_mesa_wsi || screen->needs_mesa_flush_wsi) && scanout) {
|
||||
image_wsi_info.pNext = ici.pNext;
|
||||
ici.pNext = &image_wsi_info;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue