summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-02-23 11:39:53 +0100
committerMarek Olšák <[email protected]>2015-02-23 11:40:55 +0100
commit7820a11e3dea2aca8e2b9b4ed9faf94ff5696990 (patch)
tree85f9145c2024d26328536412a733f3670ea60f84 /src/gallium/drivers
parent6e62a52865787362ae1deb9dee80140d3a66c519 (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]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_shaders.c2
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..3827c7b662d 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) */