nv30: fix viewport clipping settings to be based on viewport, not rt
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 22 Jun 2016 02:51:36 +0000 (22:51 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 1 Jul 2016 04:02:23 +0000 (00:02 -0400)
commit71609c99548ab3724e604d59b771ef1c83eac4fe
treeced2891c5310c45930286cad2c087418c8023e0d
parentc823ff8dfbd22d6c50df8b6a7fd5abc299f90776
nv30: fix viewport clipping settings to be based on viewport, not rt

This fixes a ton of "*clip*" dEQP GLES2 tests, as well as
triangle-guardband-viewport in piglit.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv30/nv30_draw.c
src/gallium/drivers/nouveau/nv30/nv30_state_validate.c