Add gl_extensions.ARB_shader_image_load_store

This commit is contained in:
raven02 committed 2013-12-28 02:15:36 +08:00
1 parent 1e22e94bd7
commit 20e1d2c6c5
1 file changed
+1
+1
View File
@@ -197,6 +197,7 @@ void CheckGLExtensions() {
gl_extensions.NV_draw_texture = strstr(extString, "GL_NV_draw_texture") != 0;
gl_extensions.ARB_blend_func_extended = strstr(extString, "GL_ARB_blend_func_extended") != 0;
gl_extensions.ARB_shader_image_load_store = strstr(extString, "GL_ARB_shader_image_load_store") != 0;
if (gl_extensions.gpuVendor == GPU_VENDOR_INTEL || !gl_extensions.VersionGEThan(3, 0, 0)) {
// Force this extension to off on sub 3.0 OpenGL versions as it does not seem reliable
// Also on Intel, see https://github.com/hrydgard/ppsspp/issues/4867