diff options
author | Marek Olšák <[email protected]> | 2015-02-06 18:00:50 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-02-24 12:21:55 +0000 |
commit | 39d823fa583dadb11edd87ab1362a8b62cc0abf3 (patch) | |
tree | 883edeec2b843673ed53669ccdebb715e0c6e19b | |
parent | 7bcdde5174b80c6a4bddf13daae6c7934c995661 (diff) |
radeonsi: small fix in SPI state
Cc: 10.5 10.4 <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
(cherry picked from commit a27b74819ad375e8c0bc88e13f42c951d2b5cd6a)
-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 27ccc8e5034..dea99ea92b8 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, |