summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_screen.c
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-09-04 03:35:22 +0200
committerLuca Barbieri <[email protected]>2010-09-04 04:05:37 +0200
commitf1507806ca1f4efbd433b9d58565cfcac9082ff2 (patch)
tree1b597174550b2eb6bfccaebb996289f0344a7f4c /src/gallium/drivers/nvfx/nvfx_screen.c
parentc98b29ec92ccb7b418139647c09bff3394e4a2b1 (diff)
nv40: support all 10 texcoords
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_screen.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c
index 6412ca988a3..9e7266b874a 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/src/gallium/drivers/nvfx/nvfx_screen.c
@@ -87,7 +87,7 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
value (nv30:0/nv40:4) ? */
return screen->is_nv4x ? 4 : 0;
case PIPE_CAP_MAX_FS_INPUTS:
- return 10;
+ return screen->is_nv4x ? 12 : 10;
case PIPE_CAP_MAX_FS_CONSTS:
return screen->is_nv4x ? 224 : 32;
case PIPE_CAP_MAX_FS_TEMPS:
@@ -319,7 +319,7 @@ static void nv40_screen_init(struct nvfx_screen *screen)
OUT_RING(chan, 0x06144321);
OUT_RING(chan, RING_3D(0x1fc8, 2));
OUT_RING(chan, 0xedcba987);
- OUT_RING(chan, 0x00000021);
+ OUT_RING(chan, 0x0000006f);
OUT_RING(chan, RING_3D(0x1fd0, 1));
OUT_RING(chan, 0x00171615);
OUT_RING(chan, RING_3D(0x1fd4, 1));