summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-04-03 12:54:32 -0600
committerBrian Paul <[email protected]>2008-04-03 12:54:32 -0600
commitce5c867cbb17b2444ebc3db5c6a03cee5e2edb8a (patch)
treef6b9df6234540f2d47c836ed2084a014d7089a81 /src/mesa/state_tracker/st_context.h
parente8823bb7dfad7c6241da185cd0ac94ede42c33e5 (diff)
gallium: streamline viewport/raster/shader state for clearing with quads
Move init of these items to new st_init_clear().
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 44705bc89a3..bcebbd49436 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -161,6 +161,8 @@ struct st_context
struct {
struct pipe_shader_state vert_shader;
struct pipe_shader_state frag_shader;
+ struct pipe_rasterizer_state raster;
+ struct pipe_viewport_state viewport;
void *vs;
void *fs;
float vertices[4][2][4]; /**< vertex pos + color */