summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
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/softpipe
parentc9a9d1ba113d67ec8fc8d3c3d995f2cb136c3c01 (diff)
gallium drivers: report that user vertex buffers are supported
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 25153afaf40..28fda94060d 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -138,6 +138,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 130;
case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION:
return 0;
+ case PIPE_CAP_USER_VERTEX_BUFFERS:
+ return 1;
default:
return 0;
}