mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-05 02:35:29 +02:00
Check for ARM_shader_framebuffer_fetch.
Also, let's combine them too. Unfortunately, the shader needs a require that matches the one they have, so we need the individual flags also.
This commit is contained in:
1 parent
23150858a4
commit
656fe78656
2 files changed
+8
No files matched your search
@@ -266,6 +266,8 @@ void CheckGLExtensions() {
|
||||
gl_extensions.EXT_unpack_subimage = strstr(extString, "GL_EXT_unpack_subimage") != 0;
|
||||
gl_extensions.EXT_shader_framebuffer_fetch = strstr(extString, "GL_EXT_shader_framebuffer_fetch") != 0;
|
||||
gl_extensions.NV_shader_framebuffer_fetch = strstr(extString, "GL_NV_shader_framebuffer_fetch") != 0;
|
||||
gl_extensions.ARM_shader_framebuffer_fetch = strstr(extString, "GL_ARM_shader_framebuffer_fetch") != 0;
|
||||
gl_extensions.ANY_shader_framebuffer_fetch = gl_extensions.EXT_shader_framebuffer_fetch || gl_extensions.NV_shader_framebuffer_fetch || gl_extensions.ARM_shader_framebuffer_fetch;
|
||||
gl_extensions.NV_copy_image = strstr(extString, "GL_NV_copy_image") != 0;
|
||||
|
||||
#if defined(ANDROID) || defined(BLACKBERRY)
|
||||
|
||||
@@ -67,10 +67,16 @@ struct GLExtensions {
|
||||
bool NV_framebuffer_blit;
|
||||
bool PBO_NV; // GL_NV_pixel_buffer_object
|
||||
|
||||
// ARM
|
||||
bool ARM_shader_framebuffer_fetch;
|
||||
|
||||
// EGL
|
||||
bool EGL_NV_system_time;
|
||||
bool EGL_NV_coverage_sample;
|
||||
|
||||
// Convenience (in case we need to know which, but can treat them mostly the same.)
|
||||
bool ANY_shader_framebuffer_fetch;
|
||||
|
||||
// Bugs
|
||||
int bugs;
|
||||
|
||||
|
||||
Reference in new issue
Block a user