summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorMichael Maltese <michaeljosephmaltese@gmail.com>2017-03-05 15:17:54 -0800
committerMichael Maltese <michaeljosephmaltese@gmail.com>2017-03-15 17:20:47 -0700
commitde940a5fd6a07728c51d53ebdab7489aa03cdb55 (patch)
treec309017a947d25eede6daf32158b7fa1e713e52d /Source/Core/VideoCommon/PixelShaderGen.cpp
parent8e6d25672292d1ca90e5acc6170df0b9cc618db6 (diff)
VideoConfig: add bSupportsFragmentStoresAndAtomics
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp
index 608248fab8..6360a68a37 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -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;