mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-09 16:35:13 +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
|
|
@ -781,7 +781,10 @@ bool GLGSRender::load_program()
|
|||
if (shadermode != shader_mode::interpreter_only) [[likely]]
|
||||
{
|
||||
void* pipeline_properties = nullptr;
|
||||
std::tie(m_program, m_vertex_prog, m_fragment_prog) = m_prog_buffer.get_graphics_pipeline(current_vertex_program, current_fragment_program, pipeline_properties,
|
||||
std::tie(m_program, m_vertex_prog, m_fragment_prog) = m_prog_buffer.get_graphics_pipeline(
|
||||
current_vertex_program, vertex_program_invalidation_count,
|
||||
current_fragment_program, fragment_program_invalidation_count,
|
||||
pipeline_properties,
|
||||
shadermode != shader_mode::recompiler, true);
|
||||
|
||||
if (m_prog_buffer.check_cache_missed())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue