summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_quad.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-10-06 09:32:32 +1000
committerDave Airlie <[email protected]>2010-10-13 09:30:04 +1000
commitd8f6ef456581644ab9444a1ed23542c2b0fff9e4 (patch)
tree88b0e8615ec9eda6aeac7c5b88e71731a65dace6 /src/gallium/drivers/softpipe/sp_quad.h
parentc79e681a68a1ef73cdb756f7b46b2a1df1bcc710 (diff)
softpipe: add support for shader stencil export capability
this allows softpipe to be used to test shader stencil ref exporting. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_quad.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_quad.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad.h b/src/gallium/drivers/softpipe/sp_quad.h
index a3236bd1169..e745aa80619 100644
--- a/src/gallium/drivers/softpipe/sp_quad.h
+++ b/src/gallium/drivers/softpipe/sp_quad.h
@@ -85,6 +85,7 @@ struct quad_header_output
/** colors in SOA format (rrrr, gggg, bbbb, aaaa) */
float color[PIPE_MAX_COLOR_BUFS][NUM_CHANNELS][QUAD_SIZE];
float depth[QUAD_SIZE];
+ uint8_t stencil[QUAD_SIZE];
};