summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_context.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-06-10 13:32:25 +1000
committerDave Airlie <[email protected]>2014-06-11 12:20:30 +1000
commit740d5bed77120aba4d815b5e2d28b109f214a800 (patch)
tree66a8773b0ed00d11e3cfa44fa78fef8edbed6095 /src/gallium/drivers/softpipe/sp_context.h
parentdc8fc39adac79cb8cbf59fc7ae5536536dceb52a (diff)
softpipe: add layered rendering support.
This adds support for GL 3.2 layered rendering to softpipe. Reviewed-by: Roland Scheidegger <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h
index a56e8a8b2b9..aac35f7bf58 100644
--- a/src/gallium/drivers/softpipe/sp_context.h
+++ b/src/gallium/drivers/softpipe/sp_context.h
@@ -121,6 +121,9 @@ struct softpipe_context {
/** Which vertex shader output slot contains point size */
int psize_slot;
+ /** Which vertex shader output slot contains layer */
+ int layer_slot;
+
/** The reduced version of the primitive supplied by the state tracker */
unsigned reduced_api_prim;