summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2010-02-16 18:36:47 +0100
committerFrancisco Jerez <[email protected]>2010-02-16 18:36:47 +0100
commit8bd62dbd7caa59edb739c65df7e94973b896d98e (patch)
tree170bb5958253146e25937a491b720e1e5d058358 /src
parent846cf495226be78b05e74064662eba4e7eb8280e (diff)
nv40: Implement PIPE_CAP_MAX_COMBINED_SAMPLERS.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nv40/nv40_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv40/nv40_screen.c b/src/gallium/drivers/nv40/nv40_screen.c
index 001147e752f..edee4b9a3aa 100644
--- a/src/gallium/drivers/nv40/nv40_screen.c
+++ b/src/gallium/drivers/nv40/nv40_screen.c
@@ -62,6 +62,8 @@ nv40_screen_get_param(struct pipe_screen *pscreen, int param)
case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT:
case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER:
return 0;
+ case PIPE_CAP_MAX_COMBINED_SAMPLERS:
+ return 16;
default:
NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
return 0;