diff options
author | Eric Anholt <[email protected]> | 2017-11-07 15:21:06 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-11-17 16:09:55 -0800 |
commit | 2daf941a58bacc3ade050218b2b31002f30ea29a (patch) | |
tree | a621f1dc68f33607e79a4aeb35ff346830f8be7c /src/gallium/drivers/vc5/vc5_emit.c | |
parent | c259bf686c1677f55899e31866eeb6db1ab622ed (diff) |
broadcom/vc5: Enable the Z min/max clipping planes.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_emit.c')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_emit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc5/vc5_emit.c b/src/gallium/drivers/vc5/vc5_emit.c index b84ddd66479..e54de7120c8 100644 --- a/src/gallium/drivers/vc5/vc5_emit.c +++ b/src/gallium/drivers/vc5/vc5_emit.c @@ -339,14 +339,12 @@ vc5_emit_state(struct pipe_context *pctx) clip.viewport_z_scale_zc_to_zs = vc5->viewport.scale[2]; } - if (0 /* XXX */) { cl_emit(&job->bcl, CLIPPER_Z_MIN_MAX_CLIPPING_PLANES, clip) { clip.minimum_zw = (vc5->viewport.translate[2] - vc5->viewport.scale[2]); clip.maximum_zw = (vc5->viewport.translate[2] + vc5->viewport.scale[2]); } - } cl_emit(&job->bcl, VIEWPORT_OFFSET, vp) { vp.viewport_centre_x_coordinate = |