projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6877c5d
)
vega: fix incorrect samplers, textures indexes in blend_bind_samplers()
author
Igor Oliveira
<igor.oliveira@openbossa.org>
Mon, 25 Jan 2010 16:53:53 +0000
(09:53 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 25 Jan 2010 16:53:53 +0000
(09:53 -0700)
Fixes fd.o bug 25863.
Signed-off-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/vega/shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/vega/shader.c
b/src/gallium/state_trackers/vega/shader.c
index d9074a377b39588b3acbe8c2889a43de8e6c2a40..91909da2c01b46b1913375645aec18b469d13a3b 100644
(file)
--- a/
src/gallium/state_trackers/vega/shader.c
+++ b/
src/gallium/state_trackers/vega/shader.c
@@
-135,8
+135,8
@@
static VGint blend_bind_samplers(struct vg_context *ctx,
textures[2] = stfb->blend_texture;
if (!samplers[0] || !textures[0]) {
- samplers[
1
] = samplers[2];
- textures[
1
] = textures[2];
+ samplers[
0
] = samplers[2];
+ textures[
0
] = textures[2];
}
if (!samplers[1] || !textures[1]) {
samplers[1] = samplers[0];