rsx: Fix cache invalidation when instancing state changes

This commit is contained in:
kd-11 2025-03-15 21:28:29 +03:00 committed by kd-11
parent f9a72e8d75
commit 3d3fc2f3cd

View file

@ -2005,6 +2005,9 @@ namespace rsx
} }
m_graphics_state.clear(rsx::pipeline_state::xform_instancing_state_dirty); m_graphics_state.clear(rsx::pipeline_state::xform_instancing_state_dirty);
// Emit invalidate here in case ucode is actually clean
m_program_cache_hint.invalidate_vertex_program(current_vertex_program);
} }
if (!m_graphics_state.test(rsx::pipeline_state::vertex_program_dirty)) if (!m_graphics_state.test(rsx::pipeline_state::vertex_program_dirty))