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 <jasuarez@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15693>
This commit is contained in:
Juan A. Suarez Romero 2022-04-13 14:32:19 +02:00 committed by Marge Bot
parent 3684012770
commit 18f8e3e7bd
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}