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:
parent
3684012770
commit
18f8e3e7bd
|
@ -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)) {
|
if (!util_blitter_is_blit_supported(v3d->blitter, info)) {
|
||||||
fprintf(stderr, "blit unsupported %s -> %s\n",
|
fprintf(stderr, "blit unsupported %s -> %s\n",
|
||||||
util_format_short_name(info->src.resource->format),
|
util_format_short_name(info->src.format),
|
||||||
util_format_short_name(info->dst.resource->format));
|
util_format_short_name(info->dst.format));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue