summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_screen.c
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-09-03 15:44:27 +0200
committerLuca Barbieri <[email protected]>2010-09-03 16:13:21 +0200
commit6ddfdaead85df873de96939239013c772dca745f (patch)
tree623b5ac77506ed999ddd4120c3fef9f16fbd5fd2 /src/gallium/drivers/nvfx/nvfx_screen.c
parent50c1b6f2e845c067ac91493c0f93caca794521dd (diff)
nvfx: fix support for more than 8 texture units (fixes etqw crash)
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_screen.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c
index 65ca265d45c..affed961d46 100644
--- a/src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/src/gallium/drivers/nvfx/nvfx_screen.c
@@ -25,8 +25,7 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
switch (param) {
case PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS:
- /* TODO: check this */
- return screen->is_nv4x ? 16 : 8;
+ return 16;
case PIPE_CAP_NPOT_TEXTURES:
return !!screen->is_nv4x;
case PIPE_CAP_TWO_SIDED_STENCIL: