mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 10:20:09 +01:00
mesa: Add extension tracking for {ARB,OES}_get_program_binary
The ARB_get_program_binary spec says "OpenGL 3.0 is required." The nearly identical OES_get_program_binary extension is available for OpenGL ES 2.0, so I don't see how / why OpenGL 3.0 is a requirement for the ARB version. Let's just enable whenever GL_ARB_shader_objects is available. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
31ca0c8be3
commit
8af7d3ce9f
1 changed files with 2 additions and 0 deletions
|
|
@ -100,6 +100,7 @@ static const struct extension extension_table[] = {
|
|||
{ "GL_ARB_fragment_shader", o(ARB_fragment_shader), GL, 2002 },
|
||||
{ "GL_ARB_framebuffer_object", o(ARB_framebuffer_object), GL, 2005 },
|
||||
{ "GL_ARB_framebuffer_sRGB", o(EXT_framebuffer_sRGB), GL, 1998 },
|
||||
{ "GL_ARB_get_program_binary", o(ARB_shader_objects), GL, 2010 },
|
||||
{ "GL_ARB_half_float_pixel", o(ARB_half_float_pixel), GL, 2003 },
|
||||
{ "GL_ARB_half_float_vertex", o(ARB_half_float_vertex), GL, 2008 },
|
||||
{ "GL_ARB_instanced_arrays", o(ARB_instanced_arrays), GL, 2008 },
|
||||
|
|
@ -249,6 +250,7 @@ static const struct extension extension_table[] = {
|
|||
{ "GL_OES_fbo_render_mipmap", o(EXT_framebuffer_object), ES1 | ES2, 2005 },
|
||||
{ "GL_OES_fixed_point", o(dummy_true), ES1, 2002 },
|
||||
{ "GL_OES_framebuffer_object", o(EXT_framebuffer_object), ES1, 2005 },
|
||||
{ "GL_OES_get_program_binary", o(ARB_shader_objects), ES2, 2008 },
|
||||
{ "GL_OES_mapbuffer", o(dummy_true), ES1 | ES2, 2005 },
|
||||
{ "GL_OES_matrix_get", o(dummy_true), ES1, 2004 },
|
||||
{ "GL_OES_packed_depth_stencil", o(EXT_packed_depth_stencil), ES1 | ES2, 2007 },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue