summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-12-31 13:30:13 -0500
committerIlia Mirkin <[email protected]>2016-01-07 18:38:46 -0500
commitd67b9ba9a1af18306aa68f16ee1b9bbc124da42e (patch)
tree85292ee9bae1c7e60eab5342a9f2c50cc6a5d403 /src/gallium/drivers/radeonsi
parent3e11656694857edcc98945da1a7eef40f3ba3836 (diff)
gallium: add caps to expose support for multi indirect draws
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index 79bbc48d1f4..64f28d9c7be 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -342,6 +342,8 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
case PIPE_CAP_CLEAR_TEXTURE:
case PIPE_CAP_DRAW_PARAMETERS:
case PIPE_CAP_TGSI_PACK_HALF_FLOAT:
+ case PIPE_CAP_MULTI_DRAW_INDIRECT:
+ case PIPE_CAP_MULTI_DRAW_INDIRECT_PARAMS:
return 0;
case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS: