From: Marta Lofstedt <marta.lofst...@intel.com> Exposes the GL_OES_geometry_shader extension for OpenGL ES 3.1.
Signed-off-by: Marta Lofstedt <marta.lofst...@linux.intel.com> --- src/mesa/main/extensions.c | 1 + src/mesa/main/mtypes.h | 1 + src/mesa/main/tests/dispatch_sanity.cpp | 3 +++ 3 files changed, 5 insertions(+) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index b2c88c3..5cfcd43 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -314,6 +314,7 @@ static const struct extension extension_table[] = { { "GL_OES_fbo_render_mipmap", o(dummy_true), ES1 | ES2, 2005 }, { "GL_OES_fixed_point", o(dummy_true), ES1, 2002 }, { "GL_OES_framebuffer_object", o(dummy_true), ES1, 2005 }, + { "GL_OES_geometry_shader", o(OES_geometry_shader), ES31, 2015 }, { "GL_OES_get_program_binary", o(dummy_true), ES2, 2008 }, { "GL_OES_mapbuffer", o(dummy_true), ES1 | ES2, 2005 }, { "GL_OES_packed_depth_stencil", o(dummy_true), ES1 | ES2, 2007 }, diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index fac45aa..2886f19 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3770,6 +3770,7 @@ struct gl_extensions GLboolean OES_texture_half_float; GLboolean OES_texture_half_float_linear; GLboolean OES_compressed_ETC1_RGB8_texture; + GLboolean OES_geometry_shader; GLboolean extension_sentinel; /** The extension string */ const GLubyte *String; diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index 0ddda59..cce05d9 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -2481,5 +2481,8 @@ const struct function gles31_functions_possible[] = { /* GL_OES_texture_storage_multisample_2d_array */ { "glTexStorage3DMultisampleOES", 31, -1 }, + /*GL_OES_geometry_shader*/ + { "glFramebufferTextureOES", 31, -1}, + { NULL, 0, -1 }, }; -- 2.1.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev