mirror of https://github.com/PCSX2/pcsx2.git
gsdx ogl: don't request arb_texture_barrier for the SW renderer
Allow[1] to use the mesa software emulated driver to test EGL. [1] also need export MESA_EXTENSION_OVERRIDE="GL_ARB_buffer_storage"
This commit is contained in:
parent
01f0f436ac
commit
565cb70875
|
@ -21,6 +21,7 @@
|
|||
#include "stdafx.h"
|
||||
#include "GLLoader.h"
|
||||
#include "GSdx.h"
|
||||
#include "GS.h"
|
||||
|
||||
PFNGLBLENDCOLORPROC gl_BlendColor = NULL;
|
||||
|
||||
|
@ -338,6 +339,7 @@ namespace GLLoader {
|
|||
}
|
||||
|
||||
bool status = true;
|
||||
bool mandatory_hw = static_cast<GSRendererType>(theApp.GetConfigI("Renderer")) == GSRendererType::OGL_HW;
|
||||
|
||||
// Bonus
|
||||
status &= status_and_override(found_GL_EXT_texture_filter_anisotropic, "GL_EXT_texture_filter_anisotropic");
|
||||
|
@ -360,7 +362,7 @@ namespace GLLoader {
|
|||
// GL4.5
|
||||
status &= status_and_override(found_GL_ARB_clip_control, "GL_ARB_clip_control", true);
|
||||
status &= status_and_override(found_GL_ARB_direct_state_access, "GL_ARB_direct_state_access", true);
|
||||
status &= status_and_override(found_GL_ARB_texture_barrier, "GL_ARB_texture_barrier", true);
|
||||
status &= status_and_override(found_GL_ARB_texture_barrier, "GL_ARB_texture_barrier", mandatory_hw);
|
||||
status &= status_and_override(found_GL_ARB_get_texture_sub_image, "GL_ARB_get_texture_sub_image");
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
|
@ -314,6 +314,7 @@ void GSdxApp::Init()
|
|||
m_default_configuration["override_GL_ARB_gpu_shader5"] = "-1";
|
||||
m_default_configuration["override_GL_ARB_shader_image_load_store"] = "-1";
|
||||
m_default_configuration["override_GL_ARB_viewport_array"] = "-1";
|
||||
m_default_configuration["override_GL_ARB_texture_barrier"] = "-1";
|
||||
m_default_configuration["override_GL_EXT_texture_filter_anisotropic"] = "-1";
|
||||
m_default_configuration["paltex"] = "0";
|
||||
m_default_configuration["png_compression_level"] = to_string(Z_BEST_SPEED);
|
||||
|
|
Loading…
Reference in New Issue