Skip to content

Commit

Permalink
GS:MTL: Fix colclip
Browse files Browse the repository at this point in the history
  • Loading branch information
TellowKrinkle committed Jan 25, 2022
1 parent ad33347 commit 1bf9a71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pcsx2/GS/Renderers/Metal/tfx.metal
Original file line number Diff line number Diff line change
Expand Up @@ -699,9 +699,9 @@ struct PSMain
Color.rgb = clamp(Color.rgb, 0.f, 255.f);

if (PS_DFMT == FMT_16)
Color.rgb = float3(ushort3(Color.rgb) & 0xF8);
Color.rgb = float3(short3(Color.rgb) & 0xF8);
else if (PS_COLCLIP && !PS_HDR)
Color.rgb = float3(ushort3(Color.rgb) & 0xFF);
Color.rgb = float3(short3(Color.rgb) & 0xFF);
}

MainPSOut ps_main()
Expand Down

0 comments on commit 1bf9a71

Please sign in to comment.