VideoConfig: add bSupportsFragmentStoresAndAtomics

This commit is contained in:
Michael Maltese
2017-03-05 15:17:54 -08:00
parent 8e6d256722
commit de940a5fd6
9 changed files with 19 additions and 7 deletions

View File

@ -172,6 +172,7 @@ PixelShaderUid GetPixelShaderUid()
uid_data->genMode_numtexgens = bpmem.genMode.numtexgens;
uid_data->per_pixel_lighting = g_ActiveConfig.bEnablePixelLighting;
uid_data->bounding_box = g_ActiveConfig.backend_info.bSupportsBBox &&
g_ActiveConfig.backend_info.bSupportsFragmentStoresAndAtomics &&
g_ActiveConfig.bBBoxEnable && BoundingBox::active;
uid_data->rgba6_format =
bpmem.zcontrol.pixel_format == PEControl::RGBA6_Z24 && !g_ActiveConfig.bForceTrueColor;