summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_context.h
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-07-04 18:53:44 +0200
committerPatrice Mandin <[email protected]>2008-07-04 18:53:44 +0200
commitf99643ca6ea3aa05a0b16dc5d99e11fa00185684 (patch)
tree19ee2315f35c4569c1999f438ef89969ffac1531 /src/gallium/drivers/nv30/nv30_context.h
parent77f8167d75d0016c76812fc147c06072e5729965 (diff)
nv30: Emit sampler state using state objects
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.h')
-rw-r--r--src/gallium/drivers/nv30/nv30_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.h b/src/gallium/drivers/nv30/nv30_context.h
index 0ad1dc6f912..5404685da25 100644
--- a/src/gallium/drivers/nv30/nv30_context.h
+++ b/src/gallium/drivers/nv30/nv30_context.h
@@ -96,6 +96,7 @@ struct nv30_state {
unsigned scissor_enabled;
unsigned stipple_enabled;
unsigned viewport_bypass;
+ unsigned fp_samplers;
uint64_t dirty;
struct nouveau_stateobj *hw[NV30_STATE_MAX];
@@ -129,6 +130,8 @@ struct nv30_context {
struct pipe_blend_color blend_colour;
struct pipe_viewport_state viewport;
struct pipe_framebuffer_state framebuffer;
+ unsigned nr_samplers;
+ unsigned nr_textures;
uint32_t rt_enable;
struct pipe_buffer *rt[2];