summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_context.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-17 11:53:35 -0600
committerBrian Paul <brianp@vmware.com>2010-04-19 08:51:07 -0600
commit44519e18a410016fde7ad8a66cd042bbc90c8940 (patch)
tree53a47aa544d2e247cb116ae5bd2a8d128343e848 /src/gallium/drivers/softpipe/sp_context.h
parent8f3bdeaad610d7d5a5c6e73e1e9c721219595754 (diff)
softpipe: add option to do polygon stipple in softpipe vs. draw module
For debugging purposes.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h
index be8f2cb3e0..92607874b6 100644
--- a/src/gallium/drivers/softpipe/sp_context.h
+++ b/src/gallium/drivers/softpipe/sp_context.h
@@ -38,6 +38,10 @@
#include "sp_quad_pipe.h"
+/** Do polygon stipple in the driver here, or in the draw module? */
+#define DO_PSTIPPLE_IN_DRAW_MODULE 1
+
+
struct softpipe_vbuf_render;
struct draw_context;
struct draw_stage;
@@ -126,6 +130,7 @@ struct softpipe_context {
struct quad_stage *shade;
struct quad_stage *depth_test;
struct quad_stage *blend;
+ struct quad_stage *pstipple;
struct quad_stage *first; /**< points to one of the above stages */
} quad;