radv: dirty the raster state when setting the primitive topology

Instead of the dynamic state which is equivalent but abusing
dirty_dynamic for stuff like that isn't a good idea.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37022>
This commit is contained in:
Samuel Pitoiset 2025-08-28 12:42:46 +02:00 committed by Marge Bot
parent 0e398ddc43
commit 51d16e9aec

View file

@ -463,7 +463,7 @@ radv_cmd_set_primitive_topology(struct radv_cmd_buffer *cmd_buffer, uint32_t pri
if (radv_primitive_topology_is_line_list(state->dynamic.vk.ia.primitive_topology) !=
radv_primitive_topology_is_line_list(primitive_topology))
state->dirty_dynamic |= RADV_DYNAMIC_LINE_STIPPLE;
state->dirty |= RADV_CMD_DIRTY_RASTER_STATE;
if (radv_prim_is_points_or_lines(state->dynamic.vk.ia.primitive_topology) !=
radv_prim_is_points_or_lines(primitive_topology))