mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-21 03:48:22 +02:00
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:
parent
7e8e95f79b
commit
c268ed8a6e
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue