summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_context.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-09-10 16:29:23 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-10 16:29:23 -0600
commitd56a3adc30c19c8f00cb7dc585e86babfd3a79a7 (patch)
tree38004b2d716a1383978ceca10ff5f93084d1a03b /src/mesa/pipe/softpipe/sp_context.h
parentb2dfe2be6cc91c330e7fe21ea663cacfc220582d (diff)
More work on vertex feedback / glRasterPos. Basic rasterpos works now.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h
index fd0af6f727..2a6b932523 100644
--- a/src/mesa/pipe/softpipe/sp_context.h
+++ b/src/mesa/pipe/softpipe/sp_context.h
@@ -78,6 +78,7 @@ struct softpipe_context {
struct pipe_clip_state clip;
struct pipe_constant_buffer constants[2];
struct pipe_depth_state depth_test;
+ struct pipe_feedback_state feedback;
struct pipe_framebuffer_state framebuffer;
struct pipe_shader_state fs;
struct pipe_shader_state vs;
@@ -107,6 +108,9 @@ struct softpipe_context {
boolean need_z; /**< produce quad/fragment Z values? */
boolean need_w; /**< produce quad/fragment W values? */
+ /** Feedback buffers */
+ struct pipe_feedback_buffer feedback_buffer[PIPE_MAX_FEEDBACK_ATTRIBS];
+
#if 0
/* Stipple derived state:
*/