mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
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:
parent
0e398ddc43
commit
51d16e9aec
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue