[Mesa-stable] [Mesa-dev] [PATCH] radeonsi: fix build error because of missing param

Alex Deucher alexdeucher at gmail.com
Tue Apr 26 13:22:48 UTC 2016


On Tue, Apr 26, 2016 at 6:48 AM, Oded Gabbay <oded.gabbay at gmail.com> wrote:
> Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
> Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  src/gallium/drivers/radeonsi/si_state.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
> index ae87a59..6017383 100644
> --- a/src/gallium/drivers/radeonsi/si_state.c
> +++ b/src/gallium/drivers/radeonsi/si_state.c
> @@ -2949,7 +2949,7 @@ si_make_texture_descriptor(struct si_screen *screen,
>                     S_008F24_LAST_ARRAY(last_layer));
>
>         if (tex->dcc_offset) {
> -               unsigned swap = r600_translate_colorswap(pipe_format);
> +               unsigned swap = r600_translate_colorswap(pipe_format, FALSE);
>
>                 state[6] = S_008F28_COMPRESSION_EN(1) | S_008F28_ALPHA_IS_ON_MSB(swap <= 1);
>                 state[7] = (tex->resource.gpu_address +
> --
> 2.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-stable mailing list