diff options
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.h')
-rw-r--r-- | src/gallium/drivers/i915/i915_context.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h index 4141a3d4cf3..719a0e87308 100644 --- a/src/gallium/drivers/i915/i915_context.h +++ b/src/gallium/drivers/i915/i915_context.h @@ -234,6 +234,12 @@ struct i915_context { struct i915_fragment_shader *fs; + void *vs; + + struct i915_velems_state *velems; + unsigned nr_vertex_buffers; + struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; + struct pipe_blend_color blend_color; struct pipe_stencil_ref stencil_ref; struct pipe_clip_state clip; @@ -285,19 +291,9 @@ struct i915_context { struct blitter_context* blitter; /** State tracking needed by u_blitter for save/restore. */ - void *saved_fs; void (*saved_bind_fs_state)(struct pipe_context *pipe, void *shader); - void *saved_vs; - struct pipe_clip_state saved_clip; - struct i915_velems_state *saved_velems; - unsigned saved_nr_vertex_buffers; - struct pipe_vertex_buffer saved_vertex_buffers[PIPE_MAX_ATTRIBS]; - unsigned saved_nr_samplers; - void *saved_samplers[PIPE_MAX_SAMPLERS]; void (*saved_bind_sampler_states)(struct pipe_context *pipe, unsigned num, void **sampler); - unsigned saved_nr_sampler_views; - struct pipe_sampler_view *saved_sampler_views[PIPE_MAX_SAMPLERS]; void (*saved_set_sampler_views)(struct pipe_context *pipe, unsigned num, struct pipe_sampler_view **views); }; |