From 44519e18a410016fde7ad8a66cd042bbc90c8940 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 17 Apr 2010 11:53:35 -0600 Subject: softpipe: add option to do polygon stipple in softpipe vs. draw module For debugging purposes. --- src/gallium/drivers/softpipe/sp_context.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/drivers/softpipe/sp_context.h') 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; -- cgit v1.2.3