panvk: Ensure to clear dirty dynamic state in panvk_cmd_draw

This was missing and causing dynamic state to remain dirty once set.

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Fixes: 1f57aae4e4 ("panvk: Move vkCmdDraw* functions to their own file")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31089>
This commit is contained in:
Mary Guillemard
2024-09-09 12:09:22 +02:00
committed by Marge Bot
parent 6b7f2fe25e
commit e47e94f9f2

View File

@@ -1277,6 +1277,7 @@ panvk_cmd_draw(struct panvk_cmd_buffer *cmdbuf, struct panvk_draw_info *draw)
}
/* Clear the dirty flags all at once */
vk_dynamic_graphics_state_clear_dirty(&cmdbuf->vk.dynamic_graphics_state);
cmdbuf->state.gfx.dirty = 0;
}