mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 20:00:37 +02:00
hk: fix restart index overemit
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30633>
This commit is contained in:
parent
765e6ad2fc
commit
4dbce4a6a3
1 changed files with 1 additions and 1 deletions
|
|
@ -3169,7 +3169,7 @@ hk_flush_gfx_state(struct hk_cmd_buffer *cmd, uint32_t draw_id,
|
|||
hk_cmd_buffer_flush_push_descriptors(cmd, desc);
|
||||
|
||||
if ((gfx->dirty & HK_DIRTY_INDEX) &&
|
||||
(gfx->index.restart || gfx->shaders[MESA_SHADER_GEOMETRY]))
|
||||
(draw.restart || gfx->shaders[MESA_SHADER_GEOMETRY]))
|
||||
hk_flush_index(cmd, cs);
|
||||
|
||||
hk_flush_dynamic_state(cmd, cs, draw_id, draw);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue