aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_context.h
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-06-21 12:03:05 +0200
committerPatrice Mandin <[email protected]>2008-06-21 12:03:05 +0200
commit5fea663b5f7abcdca00c5ff5d1b77f200b0d06ec (patch)
tree395bde3085289a1144db145dc056a286ae6624ac /src/gallium/drivers/nv30/nv30_context.h
parent582b39ebb9f67e3b67a776be0961fe2e51ee46f7 (diff)
nv30: Add state for blend
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.h')
-rw-r--r--src/gallium/drivers/nv30/nv30_context.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.h b/src/gallium/drivers/nv30/nv30_context.h
index 9fbe66dc74e..1695ba5a017 100644
--- a/src/gallium/drivers/nv30/nv30_context.h
+++ b/src/gallium/drivers/nv30/nv30_context.h
@@ -76,6 +76,13 @@ enum nv30_state_index {
#define NV30_NEW_ARRAYS (1 << 11)
#define NV30_NEW_UCP (1 << 12)
+/* TODO: rename when removing the old state emitter */
+struct nv30_blend_state_new {
+ struct pipe_blend_state pipe;
+ struct nouveau_stateobj *so;
+};
+
+
struct nv30_state {
struct nouveau_stateobj *hw[NV30_STATE_MAX];
};
@@ -101,6 +108,8 @@ struct nv30_context {
unsigned vp_samplers;
/* Context state */
+ struct nv30_blend_state_new *blend;
+ struct pipe_blend_color blend_colour;
struct pipe_framebuffer_state framebuffer;
uint32_t rt_enable;