summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_context.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-06-22 13:08:49 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-06-22 13:08:49 -0600
commit13682d959ddacde1ce65843aa8c5b43dc9017b32 (patch)
tree10457d8360a96fd87554b68768059d38a8b27b4d /src/mesa/pipe/softpipe/sp_context.h
parent8754b59667f8196eb884113ef1427b0792de47fd (diff)
more texture sampler work
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h
index 329544eb74..d8c0de0ad1 100644
--- a/src/mesa/pipe/softpipe/sp_context.h
+++ b/src/mesa/pipe/softpipe/sp_context.h
@@ -62,6 +62,7 @@ enum interp_mode {
#define G_NEW_FRAMEBUFFER 0x100
#define G_NEW_ALPHA_TEST 0x200
#define G_NEW_DEPTH_TEST 0x400
+#define G_NEW_SAMPLER 0x800
#define PIPE_ATTRIB_MAX 32
@@ -84,6 +85,7 @@ struct softpipe_context {
struct pipe_point_state point;
struct pipe_scissor_rect scissor;
struct pipe_poly_stipple poly_stipple;
+ struct pipe_sampler_state sampler[PIPE_MAX_SAMPLERS];
GLuint dirty;
/* Clip derived state: