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

@@ -618,7 +618,7 @@ void ProgramShaderCache::CreateHeader()
"#define SAMPLER_BINDING(x)\n",
// Input/output blocks are matched by name during program linking
"#define VARYING_LOCATION(x)\n",
!is_glsles && g_ActiveConfig.backend_info.bSupportsBBox ?
!is_glsles && g_ActiveConfig.backend_info.bSupportsFragmentStoresAndAtomics ?
"#extension GL_ARB_shader_storage_buffer_object : enable" :
"",
v < GLSL_400 && g_ActiveConfig.backend_info.bSupportsGSInstancing ?