DriverDetails: Add bug for broken gl_ClipDistance on i965.

This commit is contained in:
Jules Blok
2016-08-12 13:42:18 +02:00
parent 94927f360f
commit afa251af42
3 changed files with 11 additions and 1 deletions

View File

@ -482,7 +482,8 @@ Renderer::Renderer()
GLExtensions::Supports("GL_ARB_shading_language_420pack");
// Clip distance support is useless without a method to clamp the depth range
g_Config.backend_info.bSupportsDepthClamp = GLExtensions::Supports("GL_ARB_depth_clamp");
g_Config.backend_info.bSupportsDepthClamp = GLExtensions::Supports("GL_ARB_depth_clamp") &&
!DriverDetails::HasBug(DriverDetails::BUG_BROKENCLIPDISTANCE);
g_ogl_config.bSupportsGLSLCache = GLExtensions::Supports("GL_ARB_get_program_binary");
g_ogl_config.bSupportsGLPinnedMemory = GLExtensions::Supports("GL_AMD_pinned_memory");