summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h
index 0a183ea385..4e6168fe33 100644
--- a/src/mesa/pipe/softpipe/sp_context.h
+++ b/src/mesa/pipe/softpipe/sp_context.h
@@ -36,6 +36,7 @@
#include "pipe/p_state.h"
#include "pipe/p_context.h"
+#include "sp_tile.h"
struct softpipe_surface;
@@ -129,6 +130,18 @@ struct softpipe_context {
GLuint vertex_size;
} prim;
+ /*
+ * Software quad rendering pipeline
+ */
+ struct {
+ struct quad_stage *shade;
+ struct quad_stage *depth_test;
+ struct quad_stage *blend;
+ struct quad_stage *output;
+
+ struct quad_stage *first; /**< points to one of the above stages */
+ } quad;
+
/* Temp kludge:
*/
struct draw_context *draw;
@@ -144,6 +157,4 @@ softpipe_context( struct pipe_context *pipe )
}
-
-
#endif