From 1dd6e0b673bc0a5480a27e6f7d9b02545e65a6df Mon Sep 17 00:00:00 2001 From: Patrice Mandin Date: Fri, 12 Feb 2010 13:23:48 +0100 Subject: nouveau: nv30: Define number of texture samplers Signed-off-by: Patrice Mandin --- src/gallium/drivers/nv30/nv30_screen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/nv30/nv30_screen.c b/src/gallium/drivers/nv30/nv30_screen.c index 8f9b26ea56f..1caeccc05fb 100644 --- a/src/gallium/drivers/nv30/nv30_screen.c +++ b/src/gallium/drivers/nv30/nv30_screen.c @@ -64,6 +64,8 @@ nv30_screen_get_param(struct pipe_screen *pscreen, int param) case NOUVEAU_CAP_HW_VTXBUF: case NOUVEAU_CAP_HW_IDXBUF: return 1; + case PIPE_CAP_MAX_COMBINED_SAMPLERS: + return 4; case PIPE_CAP_INDEP_BLEND_ENABLE: return 0; case PIPE_CAP_INDEP_BLEND_FUNC: -- cgit v1.2.3