summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-31 12:18:20 -0600
committerBrian <[email protected]>2008-03-31 12:18:20 -0600
commite66cb602b79f52bd1f01b1c3f7af039eeff283a6 (patch)
tree98942eb76ab072bcaf71e8b15ad42ed6610519f0 /src/mesa/state_tracker/st_context.h
parentbaab98a637d526871fb77ec6f313012f49c0e998 (diff)
gallium: turn on clipping for bitmaps
Bitmaps can extend beyond window edges so we need to clip. Also, move some state atom vars to st_context to be a bit more efficient.
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 85e3d47e1aa..44705bc89a3 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -148,6 +148,8 @@ struct st_context
struct st_fragment_program *program; /**< bitmap tex/kil program */
GLuint user_prog_sn; /**< user fragment program serial no. */
struct st_fragment_program *combined_prog;
+ struct pipe_rasterizer_state rasterizer;
+ struct pipe_sampler_state sampler;
struct pipe_shader_state vert_shader;
void *vs;
float vertices[4][3][4]; /**< vertex pos + color + texcoord */