From 582eb2439cb8348bda9ea3147c833780daf98e83 Mon Sep 17 00:00:00 2001 From: antonino Date: Fri, 22 Mar 2024 22:17:35 +0100 Subject: [PATCH] panfrost: advertise `PIPE_CAP_MULTI_DRAW_INDIRECT` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Antonino Maniscalco Reviewed-by: Boris Brezillon Reviewed-by: Louis-Francis Ratté-Boulianne Reviewed-by: Mary Guillemard Part-of: --- src/gallium/drivers/panfrost/pan_screen.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index ebc522fe815..cde73aa2835 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -334,6 +334,9 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_DRAW_INDIRECT: return 1; + case PIPE_CAP_MULTI_DRAW_INDIRECT: + return dev->arch >= 10; + case PIPE_CAP_START_INSTANCE: case PIPE_CAP_DRAW_PARAMETERS: return pan_is_bifrost(dev);