VideoConfig: Add an option to force RGB8 EFB format.

This commit is contained in:
Jules Blok
2016-09-08 02:43:34 +02:00
parent 31a4ee7bfc
commit 365e88e311
4 changed files with 12 additions and 1 deletions

View File

@ -169,7 +169,8 @@ PixelShaderUid GetPixelShaderUid(DSTALPHA_MODE dstAlphaMode)
uid_data->per_pixel_lighting = g_ActiveConfig.bEnablePixelLighting;
uid_data->bounding_box = g_ActiveConfig.backend_info.bSupportsBBox &&
g_ActiveConfig.bBBoxEnable && BoundingBox::active;
uid_data->rgba6_format = bpmem.zcontrol.pixel_format == PEControl::RGBA6_Z24;
uid_data->rgba6_format =
bpmem.zcontrol.pixel_format == PEControl::RGBA6_Z24 && !g_ActiveConfig.bForceTrueColor;
uid_data->dither = bpmem.blendmode.dither;
u32 numStages = uid_data->genMode_numtevstages + 1;