summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-12-16 17:30:04 +1100
committerBen Skeggs <skeggsb@gmail.com>2008-12-16 17:30:04 +1100
commit300e42d6f067b2b98b56a82674bf48564b0578a0 (patch)
treea73cd3cbcd6b30c30be406955ea5f49a2bad0151 /src/gallium/drivers/nv50
parent208f50ec37b8c1d8cf236913a7df0b082749c8ce (diff)
nouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
index b5aef7dadd..52f6a40688 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -116,6 +116,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, int param)
case PIPE_CAP_TEXTURE_MIRROR_CLAMP:
case PIPE_CAP_TEXTURE_MIRROR_REPEAT:
return 1;
+ case PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS:
+ return 0;
case NOUVEAU_CAP_HW_VTXBUF:
return 1;
case NOUVEAU_CAP_HW_IDXBUF: