nv30: report 8 maximum inputs
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 29 Jan 2014 17:36:13 +0000 (12:36 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 9 Feb 2014 00:06:51 +0000 (19:06 -0500)
commit356aff3a5c08be055d6befff99a72f5551b3ac2d
tree33aefc1114d535ce3414b26e3637b2509771f46d
parent2e9ee44797fcce10e2f11ecb8520655f1e30280a
nv30: report 8 maximum inputs

nvfx_fragprog_assign_generic only allows for up to 10/8 texcoords for
nv40/nv30. This fixes compilation of the varying-packing tests.
Furthermore it appears that the last 2 inputs on nv4x don't seem to
work in those tests, so just report 8 everywhere for now.

Tested on NV42, NV44. NV4B appears to have additional problems.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: 9.1 9.2 10.0 10.1 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv30/nv30_screen.c