mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
swr: Pass draw start information to state update mechanism
This fixes crash in many workloads/tests Reviewed-by: Krzysztof Raszkowski <krzysztof.raszkowski@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7728>
This commit is contained in:
parent
c83cc49f6b
commit
79bd8edd87
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ swr_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info,
|
|||
ctx->dirty |= SWR_NEW_VERTEX;
|
||||
|
||||
/* Update derived state, pass draw info to update function. */
|
||||
swr_update_derived(pipe, info);
|
||||
swr_update_derived(pipe, info, draws);
|
||||
|
||||
swr_update_draw_context(ctx);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue