nv50: fix viewport transform
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 28 Jul 2009 23:21:41 +0000 (01:21 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 28 Jul 2009 23:40:34 +0000 (09:40 +1000)
commitd1b9183e64e819d389688074c3db338bd0d2d80e
treef69443f0a9e93d65c9af8416a952081d1c5159f1
parentb0341f994feb3ea724bdbbfde5d79ec2c88c34a1
nv50: fix viewport transform

The translation also needs to be inverted, and in bypass mode
the state tracker incorrectly assumes that Y = 0 = TOP, so we
need inversion there to; NDC clipping has to be deactivated
explicitly.
src/gallium/drivers/nv50/nv50_state_validate.c