projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c259bf6
)
broadcom/vc5: Enable the Z min/max clipping planes.
author
Eric Anholt
<eric@anholt.net>
Tue, 7 Nov 2017 23:21:06 +0000
(15:21 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 18 Nov 2017 00:09:55 +0000
(16:09 -0800)
src/gallium/drivers/vc5/vc5_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/vc5_emit.c
b/src/gallium/drivers/vc5/vc5_emit.c
index b84ddd6647972ec5ef29150ac6114e9861fc10e2..e54de7120c89887af9787e52706aab572205feae 100644
(file)
--- 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 =