Disable a few OpenGL 4.5 functions that AMD fails to expose.

This commit is contained in:
Ryan Houdek 2016-02-15 06:05:09 -06:00
parent f53a9316ba
commit 64cb57c5ee
1 changed files with 20 additions and 18 deletions

View File

@ -1817,26 +1817,28 @@ const GLFunc gl_function_array[] =
GLFUNC_REQUIRES(glGetTextureSubImage, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetCompressedTextureSubImage, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetGraphicsResetStatus, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnCompressedTexImage, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnTexImage, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnUniformdv, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnUniformfv, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnUniformiv, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnUniformuiv, "VERSION_4_5"),
GLFUNC_REQUIRES(glReadnPixels, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnMapdv, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnMapfv, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnMapiv, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnPixelMapfv, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnPixelMapuiv, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnPixelMapusv, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnPolygonStipple, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnColorTable, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnConvolutionFilter, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnSeparableFilter, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnHistogram, "VERSION_4_5"),
GLFUNC_REQUIRES(glGetnMinmax, "VERSION_4_5"),
GLFUNC_REQUIRES(glTextureBarrier, "VERSION_4_5"),
// AMD's video driver is trash and doesn't expose these function pointers
// Remove them for now until they learn how to implement the spec properly.
// GLFUNC_REQUIRES(glGetnCompressedTexImage, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnTexImage, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnUniformdv, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnUniformfv, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnUniformiv, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnUniformuiv, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnMapdv, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnMapfv, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnMapiv, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnPixelMapfv, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnPixelMapuiv, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnPixelMapusv, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnPolygonStipple, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnColorTable, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnConvolutionFilter, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnSeparableFilter, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnHistogram, "VERSION_4_5"),
// GLFUNC_REQUIRES(glGetnMinmax, "VERSION_4_5"),
// ARB_uniform_buffer_object
GLFUNC_REQUIRES(glGetActiveUniformName, "GL_ARB_uniform_buffer_object"),