diff options
author | Ben Skeggs <[email protected]> | 2008-12-16 17:30:04 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-12-16 17:30:04 +1100 |
commit | 300e42d6f067b2b98b56a82674bf48564b0578a0 (patch) | |
tree | a73cd3cbcd6b30c30be406955ea5f49a2bad0151 /src/gallium/drivers/nv40 | |
parent | 208f50ec37b8c1d8cf236913a7df0b082749c8ce (diff) |
nouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS
Diffstat (limited to 'src/gallium/drivers/nv40')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_screen.c | 2 |
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 25c78682961..995148e03f0 100644 --- a/src/gallium/drivers/nv40/nv40_screen.c +++ b/src/gallium/drivers/nv40/nv40_screen.c @@ -59,6 +59,8 @@ nv40_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; /* We have 4 - but unsupported currently */ case NOUVEAU_CAP_HW_VTXBUF: return 1; case NOUVEAU_CAP_HW_IDXBUF: |