projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc470bf
)
llvmpipe: Fix derived blend color state.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 10 Nov 2009 13:22:15 +0000
(
05:22
-0800)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 10 Nov 2009 13:22:15 +0000
(
05:22
-0800)
src/gallium/drivers/llvmpipe/lp_state_blend.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_blend.c
b/src/gallium/drivers/llvmpipe/lp_state_blend.c
index 3f03bd00571637d69b39230d9b53165155924703..b2e75d3b14e30b1a4efa902b5e13ba47043a77d2 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_state_blend.c
+++ b/
src/gallium/drivers/llvmpipe/lp_state_blend.c
@@
-76,7
+76,7
@@
void llvmpipe_set_blend_color( struct pipe_context *pipe,
for (i = 0; i < 4; ++i) {
uint8_t c = float_to_ubyte(blend_color->color[i]);
for (j = 0; j < 16; ++j)
- llvmpipe->jit_context.blend_color[i*
4
+ j] = c;
+ llvmpipe->jit_context.blend_color[i*
16
+ j] = c;
}
}