summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu/cell_context.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2008-03-26 10:45:32 -0700
committerIan Romanick <idr@us.ibm.com>2008-03-26 10:47:17 -0700
commit92126cea846959bb2152905a7712753d1114bd6b (patch)
tree23e2288011423533f0d8f554c254b2e50f0cae4f /src/gallium/drivers/cell/ppu/cell_context.h
parent1ecb2e4a7a5881d5a98679b421d78fd11c729ebc (diff)
cell: Implement code-gen for logic op
This also implements code-gen for the float-to-packed color conversion. It's currently hardcoded for A8R8G8B8, but that can easily be fixed as soon as other color depths are supported by the Cell driver.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_context.h')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_context.h b/src/gallium/drivers/cell/ppu/cell_context.h
index 9e79db0ace..0442abddc1 100644
--- a/src/gallium/drivers/cell/ppu/cell_context.h
+++ b/src/gallium/drivers/cell/ppu/cell_context.h
@@ -92,6 +92,8 @@ struct cell_context
const struct cell_vertex_shader_state *vs;
const struct cell_fragment_shader_state *fs;
+ struct spe_function logic_op;
+
struct pipe_blend_color blend_color;
struct pipe_clip_state clip;
struct pipe_constant_buffer constants[2];