diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-21 20:13:31 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-21 20:18:58 -0600 |
commit | 0d9bcdbeb11ad1ce7e5257f652ccf9ebf1aa59a7 (patch) | |
tree | 1870f28e4635270a9be238cec0ab4f61f8611c62 /src/mesa/pipe/i915simple/i915_context.h | |
parent | d70d41eefc1045bd2f8ddf2cb701d7789c671012 (diff) |
Fragment shader translation seems to basically work now. More testing needed.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_context.h')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_context.h | 7 |
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 a3927bf8b8..bc00d61d4b 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; |