nv30: go back to not using viewport validate function for swtnl
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 1 Jul 2016 04:59:58 +0000 (00:59 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 1 Jul 2016 05:04:10 +0000 (01:04 -0400)
commit51ca57df0196837e5ac754fd8e54e64205a5b957
treee28f1819bdfc6fc87f78be82c5cc2bb86b71b866
parent71609c99548ab3724e604d59b771ef1c83eac4fe
nv30: go back to not using viewport validate function for swtnl

The output of draw requires a null viewport transform, which the regular
code is ill-equiped to do. Reinstate the original settings in the render
path, and add setting of the viewport clip polygon based on fb
width/height (as that is all taken care of by draw).

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