From b45594f4ff084973e7ecea49d11de68145cade05 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 31 May 2023 16:40:58 -0400 Subject: [PATCH] lavapipe: don't pass indirect info in streamout draws this is otherwise broken for a sequence like draw_indirect -> draw_indirect_bc cc: mesa-stable Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/frontends/lavapipe/lvp_execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/lavapipe/lvp_execute.c b/src/gallium/frontends/lavapipe/lvp_execute.c index 1043b26116d..52296404c20 100644 --- a/src/gallium/frontends/lavapipe/lvp_execute.c +++ b/src/gallium/frontends/lavapipe/lvp_execute.c @@ -3654,7 +3654,7 @@ static void handle_draw_indirect_byte_count(struct vk_cmd_queue_entry *cmd, state->info.index_size = 0; draw.count /= cmd->u.draw_indirect_byte_count_ext.vertex_stride; - state->pctx->draw_vbo(state->pctx, &state->info, 0, &state->indirect_info, &draw, 1); + state->pctx->draw_vbo(state->pctx, &state->info, 0, NULL, &draw, 1); } static void handle_begin_conditional_rendering(struct vk_cmd_queue_entry *cmd,