summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-08-24 18:30:00 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2007-08-25 22:01:32 +0100
commit07d97e80e616d9fdc437d3b41055c347d5c54932 (patch)
treea024dcf4a5939ae901d34e14611f4987039c150d /src/mesa/state_tracker/st_context.h
parent599ba515f979a343febbaf684a744ff525554727 (diff)
checkpoint in constant tracking rework
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 13ea28237c..9e8015d4c7 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -86,7 +86,7 @@ struct st_context
} state;
struct {
- struct st_tracked_state tracked_state;
+ struct st_tracked_state tracked_state[2];
} constants;
struct {
@@ -109,6 +109,9 @@ struct st_context
GLfloat polygon_offset_scale; /* ?? */
+ struct st_vertex_program *vp;
+ struct st_fragment_program *fp;
+
struct pipe_buffer_handle *default_attrib_buffer;
};