VideoConfig: add bSupportsFragmentStoresAndAtomics

This commit is contained in:
Michael Maltese committed 2017-03-15 17:20:47 -07:00
1 parent 8e6d256722
commit de940a5fd6
9 files changed
+19 -7

No files matched your search

@@ -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;