summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_context.h
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@caramail.com>2008-07-03 21:25:47 +0200
committerPatrice Mandin <pmandin@caramail.com>2008-07-03 21:25:47 +0200
commitc0e9eb3b095c9769d3deacf4ad4470bd155acdcd (patch)
tree7798ddeb7c426d6b257cfe2667806d8fef017644 /src/gallium/drivers/nv30/nv30_context.h
parent52cf7a6c1ccc987859834b640a5ec0a62f84134a (diff)
nv30: Emit blend state using state objects
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.h')
-rw-r--r--src/gallium/drivers/nv30/nv30_context.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.h b/src/gallium/drivers/nv30/nv30_context.h
index 57cc991cd7..eedebc91b2 100644
--- a/src/gallium/drivers/nv30/nv30_context.h
+++ b/src/gallium/drivers/nv30/nv30_context.h
@@ -87,8 +87,7 @@ struct nv30_zsa_state {
struct nouveau_stateobj *so;
};
-/* TODO: rename when removing the old state emitter */
-struct nv30_blend_state_new {
+struct nv30_blend_state {
struct pipe_blend_state pipe;
struct nouveau_stateobj *so;
};
@@ -125,7 +124,7 @@ struct nv30_context {
unsigned vp_samplers;
/* Context state */
- struct nv30_blend_state_new *blend;
+ struct nv30_blend_state *blend;
struct pipe_blend_color blend_colour;
struct pipe_viewport_state viewport;
struct pipe_framebuffer_state framebuffer;
@@ -212,6 +211,7 @@ extern void nv30_fragtex_bind(struct nv30_context *);
extern boolean nv30_state_validate(struct nv30_context *nv30);
extern void nv30_emit_hw_state(struct nv30_context *nv30);
extern void nv30_state_tex_update(struct nv30_context *nv30);
+extern struct nv30_state_entry nv30_state_blend;
extern struct nv30_state_entry nv30_state_blend_colour;
extern struct nv30_state_entry nv30_state_framebuffer;