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 <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23368>
This commit is contained in:
Mike Blumenkrantz 2023-05-31 16:40:58 -04:00 committed by Marge Bot
parent 13af5dda97
commit b45594f4ff

View file

@ -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,