mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 06:50:22 +01:00
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> (cherry picked from commite47e94f9f2)
This commit is contained in:
parent
3ab2475350
commit
9b83bf0bfe
2 changed files with 2 additions and 1 deletions
|
|
@ -3164,7 +3164,7 @@
|
|||
"description": "panvk: Ensure to clear dirty dynamic state in panvk_cmd_draw",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "1f57aae4e4f1172c848a44e1682d73dadb14ac24",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1249,6 +1249,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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue