summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_draw_arrays.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2021-03-25 15:24:20 -0400
committerMarge Bot <eric+marge@anholt.net>2021-03-29 07:37:06 +0000
commitc77fc0b6f44229fb098c798b7fbd5f40e67e289d (patch)
treea15032e7a58c55c74f9a8e4f34732f263e5d904d /src/gallium/drivers/llvmpipe/lp_draw_arrays.c
parent65ef79be7a38c9da6b894d51ffbbf2b0975c1b1c (diff)
llvmpipe: stop flattening multidraws
these are now handled in the draw module Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9844>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_draw_arrays.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_draw_arrays.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_draw_arrays.c b/src/gallium/drivers/llvmpipe/lp_draw_arrays.c
index c2ceaabae36..e8f0ae6093a 100644
--- a/src/gallium/drivers/llvmpipe/lp_draw_arrays.c
+++ b/src/gallium/drivers/llvmpipe/lp_draw_arrays.c
@@ -56,11 +56,6 @@ llvmpipe_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info,
const struct pipe_draw_start_count *draws,
unsigned num_draws)
{
- if (num_draws > 1) {
- util_draw_multi(pipe, info, indirect, draws, num_draws);
- return;
- }
-
if (!indirect && (!draws[0].count || !info->instance_count))
return;