summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-02-20 11:32:55 +1000
committerDave Airlie <airlied@redhat.com>2015-05-08 10:21:01 +1000
commitfc71ae7c5705ef1a80f4f43d113c7fb39d49b164 (patch)
tree48d27e2e9200879addb22f15643a5ef5aebad4cb /src/mesa
parent5a7f04925f60a0222c66de8e3e4e788a0a550d5b (diff)
downloadexternal_mesa3d-fc71ae7c5705ef1a80f4f43d113c7fb39d49b164.zip
external_mesa3d-fc71ae7c5705ef1a80f4f43d113c7fb39d49b164.tar.gz
external_mesa3d-fc71ae7c5705ef1a80f4f43d113c7fb39d49b164.tar.bz2
mesa: add ARB_vertex_attrib_64bit to extensions. (v2)
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>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/extensions.c1
-rw-r--r--src/mesa/main/mtypes.h1
-rw-r--r--src/mesa/main/version.c2
3 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 9be8993..f7ce064 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -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 },
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index b67fc0c..1c5bb16 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -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;
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 88dba24..699a0de 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -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 &&