OSDN Git Service

radeonsi: Avoid warning about LLVM generating R_0286D0_SPI_PS_INPUT_ADDR
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 15 Jan 2016 03:18:29 +0000 (12:18 +0900)
committerMichel Dänzer <michel@daenzer.net>
Mon, 18 Jan 2016 08:39:37 +0000 (17:39 +0900)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/si_shader.c

index 3ab054c..2de7def 100644 (file)
@@ -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. */