summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-11 15:40:00 +0200
committerMarek Olšák <[email protected]>2012-04-24 01:39:21 +0200
commit978c1aa1d0f6fd9a188762a8534de33fc63eeea0 (patch)
treef23edbd9ccf8920be9e69f8a076bf3aca63f6cd4 /src/gallium/drivers/nv50
parentc9a9d1ba113d67ec8fc8d3c3d995f2cb136c3c01 (diff)
gallium drivers: report that user vertex buffers are supported
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 e8118d70ca7..a62c4b1e518 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -150,6 +150,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_TGSI_CAN_COMPACT_VARYINGS:
case PIPE_CAP_TGSI_CAN_COMPACT_CONSTANTS:
return 0; /* state trackers will know better */
+ case PIPE_CAP_USER_VERTEX_BUFFERS:
+ return 1;
default:
NOUVEAU_ERR("unknown PIPE_CAP %d\n", param);
return 0;