mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
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:
parent
13af5dda97
commit
b45594f4ff
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue