gallium: remove and emulate PIPE_CAP_MULTI_DRAW
To remove PIPE_CAP checking in the common code. It's better if drivers lower multi draws even if the hardware doesn't support it beause the multi draw loop can be moved deeper into the driver to remove more overhead. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7679>
This commit is contained in:
@@ -232,7 +232,6 @@ The integer capabilities:
|
||||
* ``PIPE_CAP_DRAW_INDIRECT``: Whether the driver supports taking draw arguments
|
||||
{ count, instance_count, start, index_bias } from a PIPE_BUFFER resource.
|
||||
See pipe_draw_info.
|
||||
* ``PIPE_CAP_MULTI_DRAW``: Whether the driver supports direct multi draws.
|
||||
* ``PIPE_CAP_MULTI_DRAW_INDIRECT``: Whether the driver supports
|
||||
pipe_draw_info::indirect_stride and ::indirect_count
|
||||
* ``PIPE_CAP_MULTI_DRAW_INDIRECT_PARAMS``: Whether the driver supports
|
||||
|
Reference in New Issue
Block a user