mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-16 02:50:19 +01:00
asahi: allow compute blitter to handle rgb9e5 blits
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30981>
This commit is contained in:
parent
93695ceb48
commit
bf910ce825
1 changed files with 7 additions and 7 deletions
|
|
@ -515,13 +515,6 @@ agx_blit(struct pipe_context *pipe, const struct pipe_blit_info *info)
|
|||
if (info->render_condition_enable && !agx_render_condition_check(ctx))
|
||||
return;
|
||||
|
||||
if (!util_blitter_is_blit_supported(ctx->blitter, info)) {
|
||||
fprintf(stderr, "\n");
|
||||
util_dump_blit_info(stderr, info);
|
||||
fprintf(stderr, "\n\n");
|
||||
unreachable("Unsupported blit");
|
||||
}
|
||||
|
||||
/* Legalize compression /before/ calling into u_blitter to avoid recursion.
|
||||
* u_blitter bans recursive usage.
|
||||
*/
|
||||
|
|
@ -536,6 +529,13 @@ agx_blit(struct pipe_context *pipe, const struct pipe_blit_info *info)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!util_blitter_is_blit_supported(ctx->blitter, info)) {
|
||||
fprintf(stderr, "\n");
|
||||
util_dump_blit_info(stderr, info);
|
||||
fprintf(stderr, "\n\n");
|
||||
unreachable("Unsupported blit");
|
||||
}
|
||||
|
||||
/* Handle self-blits */
|
||||
agx_flush_writer(ctx, agx_resource(info->dst.resource), "Blit");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue