diff options
author | Dave Airlie <[email protected]> | 2014-06-10 13:32:25 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-06-11 12:20:30 +1000 |
commit | 740d5bed77120aba4d815b5e2d28b109f214a800 (patch) | |
tree | 66a8773b0ed00d11e3cfa44fa78fef8edbed6095 /src/gallium/drivers/softpipe/sp_quad.h | |
parent | dc8fc39adac79cb8cbf59fc7ae5536536dceb52a (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_quad.h')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_quad.h | 1 |
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 71853d25205..b29dad2ea95 100644 --- a/src/gallium/drivers/softpipe/sp_quad.h +++ b/src/gallium/drivers/softpipe/sp_quad.h @@ -62,6 +62,7 @@ struct quad_header_input { int x0, y0; /**< quad window pos, always even */ + unsigned layer; float coverage[TGSI_QUAD_SIZE]; /**< fragment coverage for antialiasing */ unsigned facing:1; /**< Front (0) or back (1) facing? */ unsigned prim:2; /**< QUAD_PRIM_POINT, LINE, TRI */ |