projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f492ede
)
llvmpipe: comment about blend color
author
Brian Paul
<brianp@vmware.com>
Fri, 4 Dec 2009 00:28:02 +0000
(17:28 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 4 Dec 2009 00:28:02 +0000
(17:28 -0700)
src/gallium/drivers/llvmpipe/lp_setup.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_setup.c
b/src/gallium/drivers/llvmpipe/lp_setup.c
index
8ef764e
..
1f303d7
100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/
src/gallium/drivers/llvmpipe/lp_setup.c
@@
-540,6
+540,7
@@
lp_setup_update_shader_state( struct setup_context *setup )
stored = get_data_aligned(&setup->data, 4 * 16, 16);
+ /* smear each blend color component across 16 ubyte elements */
for (i = 0; i < 4; ++i) {
uint8_t c = float_to_ubyte(setup->blend_color.current.color[i]);
for (j = 0; j < 16; ++j)