OSDN Git Service

a4xx: only disable depth clipping, not all clipping, when requested
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 19 Aug 2016 00:12:29 +0000 (20:12 -0400)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 1 Sep 2016 10:39:43 +0000 (11:39 +0100)
commit9e71069d8f7fb24c706f55f74b5312e8ad47c378
treee4ab2dce5e1767cc7f0bc3950746a930ded17b65
parent8d1029fb7b9b386f9cb570b1fa5b478c25e49c1b
a4xx: only disable depth clipping, not all clipping, when requested

The previous bit disables the whole clipper, including the regular
viewport-related clipping that would go on. The two new bits disable
near and far clipping (separately, as verified with the
depth-clamp-range piglit).

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit cd8e30452f6d308a0c5e5668d6bba63f01895f1f)
src/gallium/drivers/freedreno/a4xx/a4xx.xml.h
src/gallium/drivers/freedreno/a4xx/fd4_rasterizer.c