Skip to content
Permalink
Browse files

TextureConversionShader: Swap bytes for RG8/GB8 format

Matches the software renderer.
  • Loading branch information...
stenzek committed Jul 14, 2019
1 parent 533f6bf commit dfae87d69a7c7136b4f7b8af45af62bb45967e4f
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/VideoCommon/TextureConversionShader.cpp
@@ -824,13 +824,13 @@ const char* GenerateEncodingShader(const EFBCopyParams& params, APIType api_type
if (params.depth)
WriteZ16Encoder(p, api_type, params); // Z16H
else
WriteCC8Encoder(p, "rg", api_type, params);
WriteCC8Encoder(p, "gr", api_type, params);
break;
case EFBCopyFormat::GB8:
if (params.depth)
WriteZ16LEncoder(p, api_type, params); // Z16L
else
WriteCC8Encoder(p, "gb", api_type, params);
WriteCC8Encoder(p, "bg", api_type, params);
break;
case EFBCopyFormat::XFB:
WriteXFBEncoder(p, api_type, params);

0 comments on commit dfae87d

Please sign in to comment.
You can’t perform that action at this time.