[Mesa-dev] [PATCH 3/3] radeonsi: move spi_ps_input_addr override outside of the loop

Marek Olšák maraeo at gmail.com
Thu Aug 4 12:44:41 UTC 2016


For the series:

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Wed, Aug 3, 2016 at 10:56 PM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> ---
>  src/gallium/drivers/radeonsi/si_shader.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
> index 455f604..64c367e 100644
> --- a/src/gallium/drivers/radeonsi/si_shader.c
> +++ b/src/gallium/drivers/radeonsi/si_shader.c
> @@ -5990,10 +5990,10 @@ void si_shader_binary_read_config(struct radeon_shader_binary *binary,
>                         }
>                         break;
>                 }
> -
> -               if (!conf->spi_ps_input_addr)
> -                       conf->spi_ps_input_addr = conf->spi_ps_input_ena;
>         }
> +
> +       if (!conf->spi_ps_input_addr)
> +               conf->spi_ps_input_addr = conf->spi_ps_input_ena;
>  }
>
>  void si_shader_apply_scratch_relocs(struct si_context *sctx,
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list