zink: try copy region first for non-resolve blits
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15853>
This commit is contained in:

committed by
Marge Bot

parent
327ca3e5ef
commit
cf3f3791e3
@@ -307,13 +307,14 @@ zink_blit(struct pipe_context *pctx,
|
|||||||
if (blit_resolve(ctx, info, &needs_present_readback))
|
if (blit_resolve(ctx, info, &needs_present_readback))
|
||||||
goto end;
|
goto end;
|
||||||
} else {
|
} else {
|
||||||
|
if (try_copy_region(pctx, info))
|
||||||
|
goto end;
|
||||||
if (blit_native(ctx, info, &needs_present_readback))
|
if (blit_native(ctx, info, &needs_present_readback))
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (try_copy_region(pctx, info))
|
|
||||||
goto end;
|
|
||||||
|
|
||||||
if (!util_blitter_is_blit_supported(ctx->blitter, info)) {
|
if (!util_blitter_is_blit_supported(ctx->blitter, info)) {
|
||||||
debug_printf("blit unsupported %s -> %s\n",
|
debug_printf("blit unsupported %s -> %s\n",
|
||||||
|
Reference in New Issue
Block a user