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:
Mike Blumenkrantz 2022-04-07 18:03:06 -04:00 committed by Marge Bot
parent 32c34e93aa
commit e13f04fcf0

View file

@ -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