v3d: drop the tiled temporary when bailing on unsupported blits

v3d_render_blit() copies untiled sources into a tiled temporary
before checking if the blitter supports the operation. The
unsupported path returned without releasing the temporary like the
regular path does at the end of the blit.

Signed-off-by: JaeHoon Lee <dlwognsdc610@gmail.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42169>
This commit is contained in:
JaeHoon Lee 2026-06-17 02:48:33 +00:00 committed by Marge Bot
parent 7e8e95f79b
commit c268ed8a6e

View file

@ -127,6 +127,7 @@ v3d_render_blit(struct pipe_context *ctx, struct pipe_blit_info *info)
mesa_loge("Blit unsupported %s -> %s",
util_format_short_name(info->src.format),
util_format_short_name(info->dst.format));
pipe_resource_reference(&tiled, NULL);
return;
}