mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
RSX: Return VP shader as is if no changes were made
This commit is contained in:
parent
ae39c5b8cb
commit
75dc2a12e2
7 changed files with 51 additions and 37 deletions
|
|
@ -1953,6 +1953,7 @@ namespace rsx
|
|||
}
|
||||
|
||||
m_graphics_state.clear(rsx::pipeline_state::vertex_program_ucode_dirty);
|
||||
vertex_program_invalidation_count++;
|
||||
|
||||
// Reload transform constants unconditionally for now
|
||||
m_graphics_state |= rsx::pipeline_state::transform_constants_dirty;
|
||||
|
|
@ -2010,6 +2011,7 @@ namespace rsx
|
|||
return;
|
||||
}
|
||||
|
||||
vertex_program_invalidation_count++;
|
||||
ensure(!m_graphics_state.test(rsx::pipeline_state::vertex_program_ucode_dirty));
|
||||
current_vertex_program.output_mask = rsx::method_registers.vertex_attrib_output_mask();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue