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:
committed by
Marge Bot
parent
93695ceb48
commit
bf910ce825
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user