diff options
author | Marek Olšák <[email protected]> | 2012-04-11 15:40:00 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-04-24 01:39:21 +0200 |
commit | 978c1aa1d0f6fd9a188762a8534de33fc63eeea0 (patch) | |
tree | f23edbd9ccf8920be9e69f8a076bf3aca63f6cd4 /src/gallium/drivers/nvc0/nvc0_screen.c | |
parent | c9a9d1ba113d67ec8fc8d3c3d995f2cb136c3c01 (diff) |
gallium drivers: report that user vertex buffers are supported
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.c')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.c b/src/gallium/drivers/nvc0/nvc0_screen.c index eb8a9c5a0e0..2f60a64e42e 100644 --- a/src/gallium/drivers/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nvc0/nvc0_screen.c @@ -140,6 +140,8 @@ nvc0_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; |