videoconfig: add BBoxPreferStencilImplementation

@JMC47 requested this to be able to do performance comparisons.
This commit is contained in:
Michael Maltese
2017-03-15 17:41:33 -07:00
parent 53224d41d0
commit 134317e07f
5 changed files with 18 additions and 11 deletions
+1 -2
View File
@@ -171,8 +171,7 @@ PixelShaderUid GetPixelShaderUid()
uid_data->genMode_numtevstages = bpmem.genMode.numtevstages;
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 &&
uid_data->bounding_box = g_ActiveConfig.BBoxUseFragmentShaderImplementation() &&
g_ActiveConfig.bBBoxEnable && BoundingBox::active;
uid_data->rgba6_format =
bpmem.zcontrol.pixel_format == PEControl::RGBA6_Z24 && !g_ActiveConfig.bForceTrueColor;