projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e62a52
)
radeonsi: fix point sprites
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 23 Feb 2015 10:39:53 +0000
(11:39 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 23 Feb 2015 10:40:55 +0000
(11:40 +0100)
Broken by
a27b74819ad375e8c0bc88e13f42c951d2b5cd6a
.
This fix is critical and should be ported to stable ASAP.
Cc: 10.5 10.4 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeonsi/si_state_shaders.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index dea99ea92b81ef2a00a65fbbc9d1f6d61c6f4658..3827c7b662d6609282a59473e5c61f75c2c24b26 100644
(file)
--- 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) */