mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
rsx: Texcoord control mask affects decompiler output!
This commit is contained in:
parent
970fe0df12
commit
b0e5de4c9c
1 changed files with 2 additions and 0 deletions
|
@ -460,6 +460,7 @@ usz fragment_program_storage_hash::operator()(const RSXFragmentProgram& program)
|
|||
hash ^= program.texture_state.unnormalized_coords;
|
||||
hash ^= program.texture_state.shadow_textures;
|
||||
hash ^= program.texture_state.redirected_textures;
|
||||
hash ^= program.texcoord_control_mask;
|
||||
|
||||
return hash;
|
||||
}
|
||||
|
@ -467,6 +468,7 @@ usz fragment_program_storage_hash::operator()(const RSXFragmentProgram& program)
|
|||
bool fragment_program_compare::operator()(const RSXFragmentProgram& binary1, const RSXFragmentProgram& binary2) const
|
||||
{
|
||||
if (binary1.ctrl != binary2.ctrl || binary1.texture_state != binary2.texture_state ||
|
||||
binary1.texcoord_control_mask != binary2.texcoord_control_mask ||
|
||||
binary1.two_sided_lighting != binary2.two_sided_lighting)
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue