From 18f8e3e7bdfc149962fc4b39295b1ad31fb9f1fe Mon Sep 17 00:00:00 2001 From: "Juan A. Suarez Romero" Date: Wed, 13 Apr 2022 14:32:19 +0200 Subject: [PATCH] v3d: report the correct unsupported blit format We were reporting the resource format instead of the surface format for unsupported render blit formats. Signed-off-by: Juan A. Suarez Romero Reviewed-by: Iago Toral Quiroga Part-of: --- src/gallium/drivers/v3d/v3d_blit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/v3d/v3d_blit.c b/src/gallium/drivers/v3d/v3d_blit.c index b44b6cd78ec..83af380b9d2 100644 --- a/src/gallium/drivers/v3d/v3d_blit.c +++ b/src/gallium/drivers/v3d/v3d_blit.c @@ -103,8 +103,8 @@ v3d_render_blit(struct pipe_context *ctx, struct pipe_blit_info *info) if (!util_blitter_is_blit_supported(v3d->blitter, info)) { fprintf(stderr, "blit unsupported %s -> %s\n", - util_format_short_name(info->src.resource->format), - util_format_short_name(info->dst.resource->format)); + util_format_short_name(info->src.format), + util_format_short_name(info->dst.format)); return; }