Merge pull request #1747 from Armada651/intel-workaround

OGL: Work around Intel structures bug.
This commit is contained in:
Markus Wick
2015-01-01 21:41:09 +01:00
8 changed files with 95 additions and 72 deletions

View File

@ -463,8 +463,7 @@ Renderer::Renderer()
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.bSupportsGSInstancing = GLExtensions::Supports("GL_ARB_gpu_shader5");
g_Config.backend_info.bSupportsGeometryShaders = (GLExtensions::Version() >= 320) &&
!DriverDetails::HasBug(DriverDetails::BUG_INTELBROKENINTERFACEBLOCKS);
g_Config.backend_info.bSupportsGeometryShaders = GLExtensions::Version() >= 320;
// Desktop OpenGL supports the binding layout if it supports 420pack
// OpenGL ES 3.1 supports it implicitly without an extension