summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell/common.h
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/common.h
parent5f76a77b319b4b66001dea4bcfccd0484aed82f5 (diff)
cell: propogate blend color to SPUs for the fallback fragment ops code
Diffstat (limited to 'src/gallium/drivers/cell/common.h')
-rw-r--r--src/gallium/drivers/cell/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/common.h b/src/gallium/drivers/cell/common.h
index b0169b8e329..3b5a25e1656 100644
--- a/src/gallium/drivers/cell/common.h
+++ b/src/gallium/drivers/cell/common.h
@@ -118,12 +118,16 @@
/**
* Command to specify per-fragment operations state and generated code.
+ * Note that the dsa, blend, blend_color fields are really only needed
+ * for the fallback/C per-pixel code. They're not used when we generate
+ * dynamic SPU fragment code (which is the normal case).
*/
struct cell_command_fragment_ops
{
uint64_t opcode; /**< CELL_CMD_STATE_FRAGMENT_OPS */
struct pipe_depth_stencil_alpha_state dsa;
struct pipe_blend_state blend;
+ struct pipe_blend_color blend_color;
unsigned code[SPU_MAX_FRAGMENT_OPS_INSTS];
};