aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell/spu/spu_command.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-10-15 12:35:51 -0600
committerBrian Paul <[email protected]>2008-10-15 12:35:51 -0600
commit53951531ae7bfd64afae1ae55aac7f6ebd3fe4f5 (patch)
tree43b7c806f7666bdc548daf8a790b8d54a7b82a31 /src/gallium/drivers/cell/spu/spu_command.c
parent5f76a77b319b4b66001dea4bcfccd0484aed82f5 (diff)
cell: propogate blend color to SPUs for the fallback fragment ops code
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_command.c')
-rw-r--r--src/gallium/drivers/cell/spu/spu_command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_command.c b/src/gallium/drivers/cell/spu/spu_command.c
index a07b312111e..b521c3aecfd 100644
--- a/src/gallium/drivers/cell/spu/spu_command.c
+++ b/src/gallium/drivers/cell/spu/spu_command.c
@@ -195,6 +195,7 @@ cmd_state_fragment_ops(const struct cell_command_fragment_ops *fops)
/* Copy state info (for fallback case only) */
memcpy(&spu.depth_stencil_alpha, &fops->dsa, sizeof(fops->dsa));
memcpy(&spu.blend, &fops->blend, sizeof(fops->blend));
+ memcpy(&spu.blend_color, &fops->blend_color, sizeof(fops->blend_color));
/* Parity twist! For now, always use the fallback code by default,
* only switching to codegen when specifically requested. This