Dolphin, the GameCube and Wii emulator - Forums
Which OpenGL extensions does dolphin use? - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: Which OpenGL extensions does dolphin use? (/Thread-which-opengl-extensions-does-dolphin-use)



Which OpenGL extensions does dolphin use? - ulikmadik - 11-24-2015

I'm on linux using recent opensource radeon drivers, which only support up to OpenGL 4.1 proper, however, there are many extensions already implemented for 4.2 and upwards. Normally I could override the GL version with an env. variable and blacklist the unavailable extensions with another, for example :

MESA_GL_VERSION_OVERRIDE=4.2 MESA_GLSL_VERSION_OVERRIDE=420 MESA_EXTENSION_OVERRIDE=-GL_ARB_shader_image_load_store dolphin-emu

But dolphin still spits a shader compilation error at me complaining about GL_ARB_shader_image_load_store, so before I go overriding all available extension one by one, without overriding the GL version, I'd like to know which extensions exactly dolphin requests to avoid unnecessary time spending..


RE: Which OpenGL extensions does dolphin use? - degasus - 11-24-2015

https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/VideoBackends/OGL/Render.cpp#L428


RE: Which OpenGL extensions does dolphin use? - ulikmadik - 11-24-2015

Thank you. Turns out the GL_ARB_shader_image_load_store wasn't being disabled due to a bug in MESA, nothing to do with the emulator. Adding specific extensions to a GL 4.1 context worked as it should. This one is solved.