[Mesa-dev] [PATCH] etnaviv: use correct param for etna_compatible_rs_format(..)
Eric Engestrom
eric.engestrom at imgtec.com
Fri Aug 25 12:36:10 UTC 2017
On Friday, 2017-08-25 13:39:05 +0200, Christian Gmeiner wrote:
> Found by code inspection.
>
> Fixes: c9e8b49b885 ("etnaviv: gallium driver for Vivante GPUs")
> Cc: mesa-stable at lists.freedesktop.org
> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Good catch!
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
> src/gallium/drivers/etnaviv/etnaviv_clear_blit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c b/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
> index b832dd8f26..92c9107343 100644
> --- a/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
> +++ b/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
> @@ -396,7 +396,7 @@ etna_try_rs_blit(struct pipe_context *pctx,
> }
>
> unsigned src_format = etna_compatible_rs_format(blit_info->src.format);
> - unsigned dst_format = etna_compatible_rs_format(blit_info->src.format);
> + unsigned dst_format = etna_compatible_rs_format(blit_info->dst.format);
> if (translate_rs_format(src_format) == ETNA_NO_MATCH ||
> translate_rs_format(dst_format) == ETNA_NO_MATCH ||
> blit_info->scissor_enable || blit_info->src.box.x != 0 ||
> --
> 2.13.5
>
More information about the mesa-dev
mailing list