mesa: add ARB_vertex_attrib_64bit to extensions. (v2)
authorDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2015 01:32:55 +0000 (11:32 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 8 May 2015 00:21:01 +0000 (10:21 +1000)
Just add the boilerplate bits.

v2: add to version.c

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/extensions.c
src/mesa/main/mtypes.h
src/mesa/main/version.c

index 9be8993b08e26402fb3640a17d6409dd57c1c615..f7ce0642aef44c9f0f65d3ba2460520770c25fae 100644 (file)
@@ -203,6 +203,7 @@ static const struct extension extension_table[] = {
    { "GL_ARB_vertex_buffer_object",                o(dummy_true),                              GLL,            2003 },
    { "GL_ARB_vertex_program",                      o(ARB_vertex_program),                      GLL,            2002 },
    { "GL_ARB_vertex_shader",                       o(ARB_vertex_shader),                       GL,             2002 },
+   { "GL_ARB_vertex_attrib_64bit",                 o(ARB_vertex_attrib_64bit),                 GLC,            2010 },
    { "GL_ARB_vertex_type_10f_11f_11f_rev",         o(ARB_vertex_type_10f_11f_11f_rev),         GL,             2013 },
    { "GL_ARB_vertex_type_2_10_10_10_rev",          o(ARB_vertex_type_2_10_10_10_rev),          GL,             2009 },
    { "GL_ARB_viewport_array",                      o(ARB_viewport_array),                      GLC,            2010 },
index b67fc0c1914cea93a4d2b392b384b42e0d140c1c..1c5bb165794a069adae1e5efda867e7816877d69 100644 (file)
@@ -3678,6 +3678,7 @@ struct gl_extensions
    GLboolean ARB_transform_feedback3;
    GLboolean ARB_transform_feedback_instanced;
    GLboolean ARB_uniform_buffer_object;
+   GLboolean ARB_vertex_attrib_64bit;
    GLboolean ARB_vertex_program;
    GLboolean ARB_vertex_shader;
    GLboolean ARB_vertex_type_10f_11f_11f_rev;
index 88dba241b31625eef777c56e314e89bb6600d47e..699a0de46c2d6e65bd0aa3628216cb497ed9c359 100644 (file)
@@ -307,7 +307,7 @@ compute_version(const struct gl_extensions *extensions,
                          consts->GLSLVersion >= 410 &&
                          extensions->ARB_ES2_compatibility &&
                          extensions->ARB_shader_precision &&
-                         false /*extensions->ARB_vertex_attrib_64bit*/ &&
+                         extensions->ARB_vertex_attrib_64bit &&
                          extensions->ARB_viewport_array);
    const bool ver_4_2 = (ver_4_1 &&
                          consts->GLSLVersion >= 420 &&