diff options
author | Marek Olšák <[email protected]> | 2015-02-23 11:39:53 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-02-24 12:37:26 +0000 |
commit | 760407ff9e10c12895cb3c5006b314baf83d4c62 (patch) | |
tree | 49da30f3996ad0fe236ccdcbef6aede70b55fa25 /src/gallium/drivers | |
parent | 3cb2120088643a6cf9cd28bb09da8481f60350b7 (diff) |
radeonsi: fix point sprites
Broken by a27b74819ad375e8c0bc88e13f42c951d2b5cd6a.
This fix is critical and should be ported to stable ASAP.
Cc: 10.5 10.4 <[email protected]>
(cherry picked from commit 7820a11e3dea2aca8e2b9b4ed9faf94ff5696990)
Squashed with commit
radeonsi: fix a warning caused by previous commit
Cc: 10.5 10.4 <[email protected]>
(cherry picked from commit 050bf75c8bbaa7cad537aabaf8612129edfee3a4)
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index dea99ea92b8..5b463365c96 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -661,7 +661,7 @@ bcolor: } } - if (j == vsinfo->num_outputs) { + if (j == vsinfo->num_outputs && !G_028644_PT_SPRITE_TEX(tmp)) { /* No corresponding output found, load defaults into input. * Don't set any other bits. * (FLAT_SHADE=1 completely changes behavior) */ |