[Mesa-dev] [PATCH 2/2] radeonsi: Avoid warning about LLVM generating R_0286D0_SPI_PS_INPUT_ADDR

Alex Deucher alexdeucher at gmail.com
Fri Jan 15 07:18:36 PST 2016


On Thu, Jan 14, 2016 at 10:23 PM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

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

> ---
>  src/gallium/drivers/radeonsi/si_shader.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
> index 3ab054c..2de7def 100644
> --- a/src/gallium/drivers/radeonsi/si_shader.c
> +++ b/src/gallium/drivers/radeonsi/si_shader.c
> @@ -3728,6 +3728,9 @@ void si_shader_binary_read_config(struct radeon_shader_binary *binary,
>                 case R_0286CC_SPI_PS_INPUT_ENA:
>                         conf->spi_ps_input_ena = value;
>                         break;
> +               case R_0286D0_SPI_PS_INPUT_ADDR:
> +                       /* Not used yet, but will be in the future */
> +                       break;
>                 case R_0286E8_SPI_TMPRING_SIZE:
>                 case R_00B860_COMPUTE_TMPRING_SIZE:
>                         /* WAVESIZE is in units of 256 dwords. */
> --
> 2.6.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list