summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-06-26 20:01:50 -0400
committerIlia Mirkin <[email protected]>2014-07-01 11:34:35 -0400
commit746e5260f6308e3d762c0480118d9be3ab5bb544 (patch)
tree0d6e817504d65ea8fd3bc76c92bd22f0dbcfa82d /src/gallium/drivers/r600
parent43e4b3e311df3bede930229380a7aa389ac7019a (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/r600')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 6f87c78bdd0..78a85ab86ff 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -333,6 +333,8 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
return 1024;
case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS:
return 16384;
+ case PIPE_CAP_MAX_VERTEX_STREAMS:
+ return 1;
/* Texturing. */
case PIPE_CAP_MAX_TEXTURE_2D_LEVELS: