summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv10/nv10_screen.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-04-04 12:39:45 +1000
committerBen Skeggs <[email protected]>2008-04-04 12:55:57 +1000
commitfbb6cc7842ec8a59b60018233275babc4deb6765 (patch)
tree99ca4056f59f2e8b4366dd47650edb0fb17e5979 /src/gallium/drivers/nv10/nv10_screen.c
parent0b57662fa6feb3d4571e4a3bc3a2243547595816 (diff)
nouveau: in some cases don't create the buffer in local mem initially.
Diffstat (limited to 'src/gallium/drivers/nv10/nv10_screen.c')
-rw-r--r--src/gallium/drivers/nv10/nv10_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv10/nv10_screen.c b/src/gallium/drivers/nv10/nv10_screen.c
index 80676ead1a9..45fbde62ea2 100644
--- a/src/gallium/drivers/nv10/nv10_screen.c
+++ b/src/gallium/drivers/nv10/nv10_screen.c
@@ -50,6 +50,9 @@ nv10_screen_get_param(struct pipe_screen *screen, int param)
return 0;
case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
return 12;
+ case NOUVEAU_CAP_HW_VTXBUF:
+ case NOUVEAU_CAP_HW_IDXBUF:
+ return 0;
default:
NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
return 0;