summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_context.h')
-rw-r--r--src/mesa/pipe/i915simple/i915_context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/pipe/i915simple/i915_context.h b/src/mesa/pipe/i915simple/i915_context.h
index a3927bf8b8d..bc00d61d4be 100644
--- a/src/mesa/pipe/i915simple/i915_context.h
+++ b/src/mesa/pipe/i915simple/i915_context.h
@@ -84,6 +84,11 @@ struct i915_state
{
unsigned immediate[I915_MAX_IMMEDIATE];
unsigned dynamic[I915_MAX_DYNAMIC];
+
+ uint *program;
+ uint program_len;
+ uint *constants;
+ uint num_constants;
unsigned id; /* track lost context events */
};
@@ -115,6 +120,8 @@ struct i915_context
struct pipe_viewport_state viewport;
struct pipe_vertex_buffer vertex_buffer[PIPE_ATTRIB_MAX];
+ struct pipe_constant_buffer temp_constants; /*XXX temporary*/
+
unsigned dirty;
unsigned *batch_start;