mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
gallium/u_threaded: fix draw_vertex_state with multi draws
It caused an assertion failure in debug builds and a GPU hang in release
builds.
Fixes: 0842488859 - gallium/u_threaded: implement draw_vertex_state
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5457
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13235>
This commit is contained in:
parent
3a06b0b439
commit
1fe24983e7
1 changed files with 1 additions and 0 deletions
|
|
@ -3490,6 +3490,7 @@ tc_draw_vertex_state(struct pipe_context *_pipe,
|
|||
p->state = state;
|
||||
|
||||
take_vertex_state_ownership = false;
|
||||
p->partial_velem_mask = partial_velem_mask;
|
||||
p->info.mode = info.mode;
|
||||
p->info.take_vertex_state_ownership = false;
|
||||
p->num_draws = dr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue