panfrost: advertise PIPE_CAP_MULTI_DRAW_INDIRECT
Signed-off-by: Antonino Maniscalco <antonino.maniscalco@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30583>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user