From 51d16e9aeccf313c2580903fbfd0f85ee4978b90 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 28 Aug 2025 12:42:46 +0200 Subject: [PATCH] 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 Part-of: --- src/amd/vulkan/radv_cmd_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 9a0420e7d5e..556f63b6006 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -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))