Merge pull request #4291 from degasus/shader_gen

PixelShaderGen: Fix UID issues.
This commit is contained in:
Markus Wick
2016-10-05 12:20:58 +02:00
committed by GitHub
13 changed files with 36 additions and 52 deletions

View File

@ -223,7 +223,7 @@ bool StateTracker::CheckForShaderChanges(u32 gx_primitive_type, DSTALPHA_MODE ds
if (ps_uid != m_ps_uid)
{
m_pipeline_state.ps = g_object_cache->GetPixelShaderForUid(ps_uid, dstalpha_mode);
m_pipeline_state.ps = g_object_cache->GetPixelShaderForUid(ps_uid);
m_ps_uid = ps_uid;
changed = true;
}