diff options
author | Ilia Mirkin <[email protected]> | 2014-06-26 20:01:50 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-07-01 11:34:35 -0400 |
commit | 746e5260f6308e3d762c0480118d9be3ab5bb544 (patch) | |
tree | 0d6e817504d65ea8fd3bc76c92bd22f0dbcfa82d /src/gallium/drivers/softpipe/sp_screen.c | |
parent | 43e4b3e311df3bede930229380a7aa389ac7019a (diff) |
gallium: add a cap for max vertex streams
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_screen.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_screen.c | 2 |
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 d82fed91d4a..ee3e0f2aef6 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -120,6 +120,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_MAX_GEOMETRY_OUTPUT_VERTICES: case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS: return 1024; + case PIPE_CAP_MAX_VERTEX_STREAMS: + return 1; case PIPE_CAP_PRIMITIVE_RESTART: return 1; case PIPE_CAP_SHADER_STENCIL_EXPORT: |