mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: mark GL_EXT_shader_io_blocks as mandatory for GLES
This commit is contained in:
parent
ccc1137e12
commit
a573ce185c
|
@ -159,7 +159,8 @@ namespace GLLoader {
|
||||||
bool found_geometry_shader = true; // we require GL3.3 so geometry must be supported by default
|
bool found_geometry_shader = true; // we require GL3.3 so geometry must be supported by default
|
||||||
bool found_GL_ARB_clear_texture = false; // Don't know if GL3 GPU can support it
|
bool found_GL_ARB_clear_texture = false; // Don't know if GL3 GPU can support it
|
||||||
bool found_GL_ARB_buffer_storage = false;
|
bool found_GL_ARB_buffer_storage = false;
|
||||||
bool found_GL_ARB_explicit_uniform_location = false; // need by subroutine
|
// Note: except Apple, all drivers support explicit uniform location
|
||||||
|
bool found_GL_ARB_explicit_uniform_location = false; // need by subroutine and bindless texture
|
||||||
// GL4 hardware
|
// GL4 hardware
|
||||||
bool found_GL_ARB_copy_image = false; // Not sure actually maybe GL3 GPU can do it
|
bool found_GL_ARB_copy_image = false; // Not sure actually maybe GL3 GPU can do it
|
||||||
bool found_GL_ARB_gpu_shader5 = false;
|
bool found_GL_ARB_gpu_shader5 = false;
|
||||||
|
@ -330,7 +331,7 @@ namespace GLLoader {
|
||||||
status &= status_and_override(found_GL_ARB_clip_control, "GL_ARB_clip_control");
|
status &= status_and_override(found_GL_ARB_clip_control, "GL_ARB_clip_control");
|
||||||
status &= status_and_override(found_GL_ARB_direct_state_access, "GL_ARB_direct_state_access");
|
status &= status_and_override(found_GL_ARB_direct_state_access, "GL_ARB_direct_state_access");
|
||||||
#else // ENABLE_GLES
|
#else // ENABLE_GLES
|
||||||
status &= status_and_override(found_GL_EXT_shader_io_blocks, "GL_EXT_shader_io_blocks");
|
status &= status_and_override(found_GL_EXT_shader_io_blocks, "GL_EXT_shader_io_blocks", true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
|
|
|
@ -415,7 +415,6 @@ namespace GLLoader {
|
||||||
|
|
||||||
// GL
|
// GL
|
||||||
extern bool found_GL_ARB_separate_shader_objects;
|
extern bool found_GL_ARB_separate_shader_objects;
|
||||||
extern bool found_GL_ARB_shading_language_420pack;
|
|
||||||
extern bool found_GL_ARB_copy_image;
|
extern bool found_GL_ARB_copy_image;
|
||||||
extern bool found_geometry_shader;
|
extern bool found_geometry_shader;
|
||||||
extern bool found_GL_ARB_gpu_shader5;
|
extern bool found_GL_ARB_gpu_shader5;
|
||||||
|
@ -427,6 +426,4 @@ namespace GLLoader {
|
||||||
extern bool found_GL_ARB_explicit_uniform_location;
|
extern bool found_GL_ARB_explicit_uniform_location;
|
||||||
extern bool found_GL_ARB_clip_control;
|
extern bool found_GL_ARB_clip_control;
|
||||||
extern bool found_GL_ARB_direct_state_access;
|
extern bool found_GL_ARB_direct_state_access;
|
||||||
// GLES
|
|
||||||
extern bool found_GL_EXT_shader_io_blocks;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue