Mesa (master): include: Add GL_MESA_program_binary_formats to GL/ GLES2 ext.h files
Timothy Arceri
tarceri at kemper.freedesktop.org
Fri Dec 8 06:03:46 UTC 2017
Module: Mesa
Branch: master
Commit: 219628c1180069cd92e4d01a3e527d2df9f4851c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=219628c1180069cd92e4d01a3e527d2df9f4851c
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Tue Nov 7 00:16:47 2017 -0800
include: Add GL_MESA_program_binary_formats to GL/GLES2 ext.h files
Thus was merged into the OpenGL Registry in version
667c5a253781834b40a6ae9eb19d05af4542cfe1.
Ref: https://github.com/KhronosGroup/OpenGL-Registry/pull/127
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
include/GL/glext.h | 5 +++++
include/GLES2/gl2ext.h | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/include/GL/glext.h b/include/GL/glext.h
index 0ae78920e1..75fd1f6118 100644
--- a/include/GL/glext.h
+++ b/include/GL/glext.h
@@ -9212,6 +9212,11 @@ GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLen
#define GL_PACK_INVERT_MESA 0x8758
#endif /* GL_MESA_pack_invert */
+#ifndef GL_MESA_program_binary_formats
+#define GL_MESA_program_binary_formats 1
+#define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
+#endif /* GL_MESA_program_binary_formats */
+
#ifndef GL_MESA_resize_buffers
#define GL_MESA_resize_buffers 1
typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
diff --git a/include/GLES2/gl2ext.h b/include/GLES2/gl2ext.h
index cc90a6cf5d..a7d19a1fc8 100644
--- a/include/GLES2/gl2ext.h
+++ b/include/GLES2/gl2ext.h
@@ -2334,6 +2334,11 @@ GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint quer
#endif
#endif /* GL_INTEL_performance_query */
+#ifndef GL_MESA_program_binary_formats
+#define GL_MESA_program_binary_formats 1
+#define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
+#endif /* GL_MESA_program_binary_formats */
+
#ifndef GL_MESA_shader_integer_functions
#define GL_MESA_shader_integer_functions 1
#endif /* GL_MESA_shader_integer_functions */
More information about the mesa-commit
mailing list