summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-08-03 13:30:32 +0200
committerNicolai Hähnle <[email protected]>2016-08-08 12:51:32 +0200
commit7f5a8dc27e7965af3d6a4389950fcc90f8b2430a (patch)
treef5d8141f24ccf915962478d7fa09bd80724ee6d9 /src/gallium/drivers/radeonsi/si_shader.c
parent287822ee33b3eb57b459d23e6b0624424df2fca4 (diff)
radeonsi: move spi_ps_input_addr override outside of the loop
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 455f6044aeb..64c367eb367 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,