zink: remove unnecessary stall during device-local map case
this stalls after the copy already, no need to also stall before it Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11749>
This commit is contained in:

committed by
Marge Bot

parent
6fbcf335c2
commit
c4c279bd7a
@@ -935,7 +935,6 @@ buffer_transfer_map(struct zink_context *ctx, struct zink_resource *res, unsigne
|
||||
if (!zink_batch_usage_check_completion(ctx, res->obj->writes))
|
||||
return NULL;
|
||||
} else if (!res->obj->host_visible) {
|
||||
zink_fence_wait(&ctx->base);
|
||||
trans->staging_res = pipe_buffer_create(&screen->base, PIPE_BIND_LINEAR, PIPE_USAGE_STAGING, box->x + box->width);
|
||||
if (!trans->staging_res)
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user