es2api/ABI-check: Add es3.x symbols
authorDylan Baker <dylan@pnwbakers.com>
Tue, 31 Oct 2017 18:49:07 +0000 (11:49 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 2 Nov 2017 21:50:52 +0000 (14:50 -0700)
Currently this ABI check only checks for es2 symbols, but es3.x symbols
are also exposed. Exposing these symbols is recommended by Khronos, and
as such the test should accept that as ABI.

see: https://lists.freedesktop.org/archives/mesa-stable/2016-June/004545.html
for the discussion about exposing these symbols

cc: Ian Romanick <idr@freedesktop.org>
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Tested-by: Eric Engestrom <eric.engestrom@imgtec.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
src/mapi/es2api/ABI-check

index 835882c..179bea1 100755 (executable)
@@ -15,6 +15,7 @@ fi
 
 FUNCS=$(nm -D --defined-only $LIB | grep -o 'T gl.*' | cut -c 3- | while read func; do
 ( grep -q "^$func$" || echo $func )  <<EOF
+glActiveShaderProgram
 glActiveTexture
 glAttachShader
 glBeginQuery
@@ -23,17 +24,26 @@ glBindAttribLocation
 glBindBuffer
 glBindBufferBase
 glBindBufferRange
+glBindFragDataLocationEXT
 glBindFramebuffer
+glBindImageTexture
+glBindProgramPipeline
 glBindRenderbuffer
 glBindSampler
 glBindTexture
 glBindTransformFeedback
 glBindVertexArray
+glBindVertexBuffer
+glBlendBarrier
 glBlendColor
 glBlendEquation
 glBlendEquationSeparate
+glBlendEquationSeparatei
+glBlendEquationi
 glBlendFunc
 glBlendFuncSeparate
+glBlendFuncSeparatei
+glBlendFunci
 glBlitFramebuffer
 glBufferData
 glBufferSubData
@@ -48,21 +58,28 @@ glClearDepthf
 glClearStencil
 glClientWaitSync
 glColorMask
+glColorMaski
 glCompileShader
 glCompressedTexImage2D
 glCompressedTexImage3D
 glCompressedTexSubImage2D
 glCompressedTexSubImage3D
 glCopyBufferSubData
+glCopyImageSubData
 glCopyTexImage2D
 glCopyTexSubImage2D
 glCopyTexSubImage3D
 glCreateProgram
 glCreateShader
+glCreateShaderProgramv
 glCullFace
+glDebugMessageCallback
+glDebugMessageControl
+glDebugMessageInsert
 glDeleteBuffers
 glDeleteFramebuffers
 glDeleteProgram
+glDeleteProgramPipelines
 glDeleteQueries
 glDeleteRenderbuffers
 glDeleteSamplers
@@ -77,91 +94,131 @@ glDepthRangef
 glDetachShader
 glDisable
 glDisableVertexAttribArray
+glDisablei
+glDispatchCompute
+glDispatchComputeIndirect
 glDrawArrays
+glDrawArraysIndirect
 glDrawArraysInstanced
 glDrawBuffers
 glDrawElements
+glDrawElementsBaseVertex
+glDrawElementsIndirect
 glDrawElementsInstanced
+glDrawElementsInstancedBaseVertex
 glDrawRangeElements
+glDrawRangeElementsBaseVertex
 glEGLImageTargetRenderbufferStorageOES
 glEGLImageTargetTexture2DOES
 glEnable
 glEnableVertexAttribArray
+glEnablei
 glEndQuery
 glEndTransformFeedback
 glFenceSync
 glFinish
 glFlush
 glFlushMappedBufferRange
+glFramebufferParameteri
 glFramebufferRenderbuffer
+glFramebufferTexture
 glFramebufferTexture2D
 glFramebufferTextureLayer
 glFrontFace
 glGenBuffers
-glGenerateMipmap
 glGenFramebuffers
+glGenProgramPipelines
 glGenQueries
 glGenRenderbuffers
 glGenSamplers
 glGenTextures
 glGenTransformFeedbacks
 glGenVertexArrays
+glGenerateMipmap
 glGetActiveAttrib
 glGetActiveUniform
-glGetActiveUniformBlockiv
 glGetActiveUniformBlockName
+glGetActiveUniformBlockiv
 glGetActiveUniformsiv
 glGetAttachedShaders
 glGetAttribLocation
+glGetBooleani_v
 glGetBooleanv
 glGetBufferParameteri64v
 glGetBufferParameteriv
 glGetBufferPointerv
+glGetDebugMessageLog
 glGetError
 glGetFloatv
 glGetFragDataLocation
 glGetFramebufferAttachmentParameteriv
+glGetFramebufferParameteriv
+glGetGraphicsResetStatus
 glGetInteger64i_v
 glGetInteger64v
 glGetIntegeri_v
 glGetIntegerv
 glGetInternalformativ
+glGetMultisamplefv
+glGetObjectLabel
+glGetObjectPtrLabel
+glGetPointerv
 glGetProgramBinary
 glGetProgramInfoLog
+glGetProgramInterfaceiv
+glGetProgramPipelineInfoLog
+glGetProgramPipelineiv
+glGetProgramResourceIndex
+glGetProgramResourceLocation
+glGetProgramResourceName
+glGetProgramResourceiv
 glGetProgramiv
-glGetQueryiv
 glGetQueryObjectuiv
+glGetQueryiv
 glGetRenderbufferParameteriv
+glGetSamplerParameterIiv
+glGetSamplerParameterIuiv
 glGetSamplerParameterfv
 glGetSamplerParameteriv
 glGetShaderInfoLog
-glGetShaderiv
 glGetShaderPrecisionFormat
 glGetShaderSource
+glGetShaderiv
 glGetString
 glGetStringi
 glGetSynciv
+glGetTexLevelParameterfv
+glGetTexLevelParameteriv
+glGetTexParameterIiv
+glGetTexParameterIivEXT
+glGetTexParameterIuiv
+glGetTexParameterIuivEXT
 glGetTexParameterfv
 glGetTexParameteriv
 glGetTransformFeedbackVarying
 glGetUniformBlockIndex
-glGetUniformfv
 glGetUniformIndices
-glGetUniformiv
 glGetUniformLocation
+glGetUniformfv
+glGetUniformiv
 glGetUniformuiv
-glGetVertexAttribfv
 glGetVertexAttribIiv
 glGetVertexAttribIuiv
-glGetVertexAttribiv
 glGetVertexAttribPointerv
+glGetVertexAttribfv
+glGetVertexAttribiv
+glGetnUniformfv
+glGetnUniformiv
+glGetnUniformuiv
 glHint
 glInvalidateFramebuffer
 glInvalidateSubFramebuffer
 glIsBuffer
 glIsEnabled
+glIsEnabledi
 glIsFramebuffer
 glIsProgram
+glIsProgramPipeline
 glIsQuery
 glIsRenderbuffer
 glIsSampler
@@ -173,20 +230,66 @@ glIsVertexArray
 glLineWidth
 glLinkProgram
 glMapBufferRange
+glMemoryBarrier
+glMemoryBarrierByRegion
+glMinSampleShading
 glMultiDrawArraysEXT
 glMultiDrawElementsEXT
+glObjectLabel
+glObjectPtrLabel
+glPatchParameteri
 glPauseTransformFeedback
 glPixelStorei
 glPolygonOffset
+glPopDebugGroup
+glPrimitiveBoundingBox
 glProgramBinary
 glProgramParameteri
+glProgramUniform1f
+glProgramUniform1fv
+glProgramUniform1i
+glProgramUniform1iv
+glProgramUniform1ui
+glProgramUniform1uiv
+glProgramUniform2f
+glProgramUniform2fv
+glProgramUniform2i
+glProgramUniform2iv
+glProgramUniform2ui
+glProgramUniform2uiv
+glProgramUniform3f
+glProgramUniform3fv
+glProgramUniform3i
+glProgramUniform3iv
+glProgramUniform3ui
+glProgramUniform3uiv
+glProgramUniform4f
+glProgramUniform4fv
+glProgramUniform4i
+glProgramUniform4iv
+glProgramUniform4ui
+glProgramUniform4uiv
+glProgramUniformMatrix2fv
+glProgramUniformMatrix2x3fv
+glProgramUniformMatrix2x4fv
+glProgramUniformMatrix3fv
+glProgramUniformMatrix3x2fv
+glProgramUniformMatrix3x4fv
+glProgramUniformMatrix4fv
+glProgramUniformMatrix4x2fv
+glProgramUniformMatrix4x3fv
+glPushDebugGroup
 glReadBuffer
 glReadPixels
+glReadnPixels
 glReleaseShaderCompiler
 glRenderbufferStorage
 glRenderbufferStorageMultisample
 glResumeTransformFeedback
 glSampleCoverage
+glSampleMaski
+glSamplerParameterIiv
+glSamplerParameterIuiv
 glSamplerParameterf
 glSamplerParameterfv
 glSamplerParameteri
@@ -200,14 +303,22 @@ glStencilMask
 glStencilMaskSeparate
 glStencilOp
 glStencilOpSeparate
+glTexBuffer
+glTexBufferRange
 glTexImage2D
 glTexImage3D
+glTexParameterIiv
+glTexParameterIivEXT
+glTexParameterIuiv
+glTexParameterIuivEXT
 glTexParameterf
 glTexParameterfv
 glTexParameteri
 glTexParameteriv
 glTexStorage2D
+glTexStorage2DMultisample
 glTexStorage3D
+glTexStorage3DMultisample
 glTexSubImage2D
 glTexSubImage3D
 glTransformFeedbackVaryings
@@ -247,7 +358,9 @@ glUniformMatrix4x2fv
 glUniformMatrix4x3fv
 glUnmapBuffer
 glUseProgram
+glUseProgramStages
 glValidateProgram
+glValidateProgramPipeline
 glVertexAttrib1f
 glVertexAttrib1fv
 glVertexAttrib2f
@@ -256,13 +369,17 @@ glVertexAttrib3f
 glVertexAttrib3fv
 glVertexAttrib4f
 glVertexAttrib4fv
+glVertexAttribBinding
 glVertexAttribDivisor
+glVertexAttribFormat
 glVertexAttribI4i
 glVertexAttribI4iv
 glVertexAttribI4ui
 glVertexAttribI4uiv
+glVertexAttribIFormat
 glVertexAttribIPointer
 glVertexAttribPointer
+glVertexBindingDivisor
 glViewport
 glWaitSync
 EOF