mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-29 00:34:52 +00:00
OGL: Check OpenGL version for geometry shader support.
This commit is contained in:
parent
93ce95b48e
commit
1f84f4632d
1 changed files with 1 additions and 0 deletions
|
@ -476,6 +476,7 @@ Renderer::Renderer()
|
||||||
g_Config.backend_info.bSupportsEarlyZ = GLExtensions::Supports("GL_ARB_shader_image_load_store");
|
g_Config.backend_info.bSupportsEarlyZ = GLExtensions::Supports("GL_ARB_shader_image_load_store");
|
||||||
g_Config.backend_info.bSupportsBBox = GLExtensions::Supports("GL_ARB_shader_storage_buffer_object");
|
g_Config.backend_info.bSupportsBBox = GLExtensions::Supports("GL_ARB_shader_storage_buffer_object");
|
||||||
g_Config.backend_info.bSupportsGSInstancing = GLExtensions::Supports("GL_ARB_gpu_shader5");
|
g_Config.backend_info.bSupportsGSInstancing = GLExtensions::Supports("GL_ARB_gpu_shader5");
|
||||||
|
g_Config.backend_info.bSupportsGeometryShaders = (GLExtensions::Version() >= 320);
|
||||||
|
|
||||||
// Desktop OpenGL supports the binding layout if it supports 420pack
|
// Desktop OpenGL supports the binding layout if it supports 420pack
|
||||||
// OpenGL ES 3.1 supports it implicitly without an extension
|
// OpenGL ES 3.1 supports it implicitly without an extension
|
||||||
|
|
Loading…
Add table
Reference in a new issue