summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-03 17:28:02 -0700
committerBrian Paul <brianp@vmware.com>2009-12-03 17:28:02 -0700
commit9c1debe208d07b57e88c65bae186bb339de7dee7 (patch)
tree68999a323182fbd1e877debb2b4423b53380fc42 /src/gallium
parentf492edee98e75bb4bace5469bfcdbff1a33609b1 (diff)
llvmpipe: comment about blend color
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c
index 8ef764eb80..1f303d7705 100644
--- 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)