summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-06-20 14:29:14 -0600
committerBrian <[email protected]>2007-06-20 14:29:14 -0600
commitfb5cdbd078d4d44fb43d417843debe41148f3714 (patch)
treec0ee61884177dfb98067fd4ea7f4f52042265b3e /src/mesa/pipe/softpipe/sp_context.h
parent1edb5aafadc16ac0d7c604a3cd4a9c2e91d9b705 (diff)
Initial implementation of a software pipeline for quad rasterization (fragment ops).
This is very much like the clipper/setup pipeline for primitives.
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 0a183ea3855..4e6168fe334 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