Skip to content

anv: Only re-emit non-dynamic state that has changed.

Rafael Antognolli requested to merge rantogno/mesa:anv/dynamic_state into master

anv_dynamic_state_copy() now returns a mask with only the dynamic state that has changed when copying it. This allow us to not re-emit state packets for things that stay the same all the time -- specially 3DSTATE_LINE_STIPPLE, which is non-pipelined.

Fixes: f6e7de41 ("anv: Implement VK_EXT_line_rasterization")

Cc: @jekstrand

Merge request reports