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)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 19 Aug 2016 23:40:04 +0000 (19:40 -0400)
commitcd8e30452f6d308a0c5e5668d6bba63f01895f1f
tree5627d23a970d88bfa78e5f3d8bb6e1806bc25c92
parent5adee83806f764d60c629027dc0ee38cef3cb87a
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
src/gallium/drivers/freedreno/a4xx/a4xx.xml.h
src/gallium/drivers/freedreno/a4xx/fd4_rasterizer.c