mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-27 14:28:22 +02:00
panvk/csf: fix VERTEX_SPD dirty tracking when topology changes
Fixes: c7b94b098c ("panvk: Add v12 support")
Signed-off-by: Olivia Lee <olivia.lee@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41638>
This commit is contained in:
parent
04fe65e2bb
commit
a56b15edc6
1 changed files with 2 additions and 1 deletions
|
|
@ -1760,7 +1760,8 @@ prepare_vs(struct panvk_cmd_buffer *cmdbuf, const struct panvk_draw_info *draw)
|
|||
vs_desc_state->res_table);
|
||||
|
||||
#if PAN_ARCH >= 12
|
||||
if (gfx_state_dirty(cmdbuf, VS))
|
||||
if (gfx_state_dirty(cmdbuf, VS) ||
|
||||
dyn_gfx_state_dirty(cmdbuf, IA_PRIMITIVE_TOPOLOGY))
|
||||
cs_move64_to(b, cs_sr_reg64(b, IDVS, VERTEX_SPD), get_vs_all_spd(cmdbuf));
|
||||
#else
|
||||
if (gfx_state_dirty(cmdbuf, VS) ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue