diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-02-06 18:00:50 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-02-17 17:31:48 +0100 |
commit | a27b74819ad375e8c0bc88e13f42c951d2b5cd6a (patch) | |
tree | a483592814ec3c78d92c676ade0f6fea25bed8c2 /src/gallium/drivers/radeonsi | |
parent | 5f1cef76f9bbaae772120dcb38e0b98d68a93f26 (diff) | |
download | external_mesa3d-a27b74819ad375e8c0bc88e13f42c951d2b5cd6a.zip external_mesa3d-a27b74819ad375e8c0bc88e13f42c951d2b5cd6a.tar.gz external_mesa3d-a27b74819ad375e8c0bc88e13f42c951d2b5cd6a.tar.bz2 |
radeonsi: small fix in SPI state
Cc: 10.5 10.4 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index 27ccc8e..dea99ea 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -662,8 +662,10 @@ bcolor: } if (j == vsinfo->num_outputs) { - /* No corresponding output found, load defaults into input */ - tmp |= S_028644_OFFSET(0x20); + /* No corresponding output found, load defaults into input. + * Don't set any other bits. + * (FLAT_SHADE=1 completely changes behavior) */ + tmp = S_028644_OFFSET(0x20); } si_pm4_set_reg(pm4, |