summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.h')
-rw-r--r--src/gallium/drivers/nv30/nv30_context.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.h b/src/gallium/drivers/nv30/nv30_context.h
index c41cb29201..ef8c16bdbb 100644
--- a/src/gallium/drivers/nv30/nv30_context.h
+++ b/src/gallium/drivers/nv30/nv30_context.h
@@ -114,12 +114,6 @@ struct nv30_context {
/* HW state derived from pipe states */
struct nv30_state state;
- struct nv30_sampler_state *tex_sampler[PIPE_MAX_SAMPLERS];
- struct nv30_miptree *tex_miptree[PIPE_MAX_SAMPLERS];
- unsigned dirty_samplers;
- unsigned fp_samplers;
- unsigned vp_samplers;
-
/* Context state */
unsigned dirty;
struct pipe_scissor_state scissor;
@@ -134,17 +128,11 @@ struct nv30_context {
struct pipe_blend_color blend_colour;
struct pipe_viewport_state viewport;
struct pipe_framebuffer_state framebuffer;
+ struct nv30_sampler_state *tex_sampler[PIPE_MAX_SAMPLERS];
+ struct nv30_miptree *tex_miptree[PIPE_MAX_SAMPLERS];
unsigned nr_samplers;
unsigned nr_textures;
-
- uint32_t rt_enable;
- struct pipe_buffer *rt[2];
- struct pipe_buffer *zeta;
-
- /*struct {
- struct pipe_buffer *buffer;
- uint32_t format;
- } tex[16];*/
+ unsigned dirty_samplers;
unsigned vb_enable;
struct {
@@ -193,7 +181,6 @@ extern void nv30_fragtex_bind(struct nv30_context *);
/* nv30_state.c and friends */
extern boolean nv30_state_validate(struct nv30_context *nv30);
extern void nv30_state_emit(struct nv30_context *nv30);
-extern void nv30_state_tex_update(struct nv30_context *nv30);
extern struct nv30_state_entry nv30_state_rasterizer;
extern struct nv30_state_entry nv30_state_scissor;
extern struct nv30_state_entry nv30_state_stipple;