diff options
author | Dave Airlie <airlied@redhat.com> | 2014-06-10 13:32:25 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-11 12:20:30 +1000 |
commit | 740d5bed77120aba4d815b5e2d28b109f214a800 (patch) | |
tree | 66a8773b0ed00d11e3cfa44fa78fef8edbed6095 /src/gallium/drivers/softpipe/sp_quad_depth_test.c | |
parent | dc8fc39adac79cb8cbf59fc7ae5536536dceb52a (diff) | |
download | external_mesa3d-740d5bed77120aba4d815b5e2d28b109f214a800.zip external_mesa3d-740d5bed77120aba4d815b5e2d28b109f214a800.tar.gz external_mesa3d-740d5bed77120aba4d815b5e2d28b109f214a800.tar.bz2 |
softpipe: add layered rendering support.
This adds support for GL 3.2 layered rendering to softpipe.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_quad_depth_test.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_quad_depth_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_depth_test.c b/src/gallium/drivers/softpipe/sp_quad_depth_test.c index 367218a..bac40c0 100644 --- a/src/gallium/drivers/softpipe/sp_quad_depth_test.c +++ b/src/gallium/drivers/softpipe/sp_quad_depth_test.c @@ -801,7 +801,7 @@ depth_test_quads_fallback(struct quad_stage *qs, data.format = data.ps->format; data.tile = sp_get_cached_tile(qs->softpipe->zsbuf_cache, quads[0]->input.x0, - quads[0]->input.y0, 0); + quads[0]->input.y0, quads[0]->input.layer); data.clamp = !qs->softpipe->rasterizer->depth_clip; near_val = qs->softpipe->viewport.translate[2] - qs->softpipe->viewport.scale[2]; |