# For Mesa this effectively means OpenGL 3.2 is required. It seems
# unlikely that Mesa will ever get support for any of the NV extensions
# that add "equivalent functionality."
- "VertexAttribL1d": exec_info(core=32),
- "VertexAttribL2d": exec_info(core=32),
- "VertexAttribL3d": exec_info(core=32),
- "VertexAttribL4d": exec_info(core=32),
- "VertexAttribL1dv": exec_info(core=32),
- "VertexAttribL2dv": exec_info(core=32),
- "VertexAttribL3dv": exec_info(core=32),
- "VertexAttribL4dv": exec_info(core=32),
- "VertexAttribLPointer": exec_info(core=32),
- "GetVertexAttribLdv": exec_info(core=32),
+ "VertexAttribL1d": exec_info(compatibility=32, core=32),
+ "VertexAttribL2d": exec_info(compatibility=32, core=32),
+ "VertexAttribL3d": exec_info(compatibility=32, core=32),
+ "VertexAttribL4d": exec_info(compatibility=32, core=32),
+ "VertexAttribL1dv": exec_info(compatibility=32, core=32),
+ "VertexAttribL2dv": exec_info(compatibility=32, core=32),
+ "VertexAttribL3dv": exec_info(compatibility=32, core=32),
+ "VertexAttribL4dv": exec_info(compatibility=32, core=32),
+ "VertexAttribLPointer": exec_info(compatibility=32, core=32),
+ "GetVertexAttribLdv": exec_info(compatibility=32, core=32),
# OpenGL 4.1 / GL_ARB_viewport_array. The extension spec says:
#
EXT(ARB_uniform_buffer_object , ARB_uniform_buffer_object , GLL, GLC, x , x , 2009)
EXT(ARB_vertex_array_bgra , EXT_vertex_array_bgra , GLL, GLC, x , x , 2008)
EXT(ARB_vertex_array_object , dummy_true , GLL, GLC, x , x , 2006)
-EXT(ARB_vertex_attrib_64bit , ARB_vertex_attrib_64bit , x , GLC, x , x , 2010)
+EXT(ARB_vertex_attrib_64bit , ARB_vertex_attrib_64bit , 32, GLC, x , x , 2010)
EXT(ARB_vertex_attrib_binding , dummy_true , GLL, GLC, x , x , 2012)
EXT(ARB_vertex_buffer_object , dummy_true , GLL, x , x , x , 2003)
EXT(ARB_vertex_program , ARB_vertex_program , GLL, x , x , x , 2002)
{ "glUniformMatrix4x3dv", 40, -1 },
{ "glGetUniformdv", 43, -1 },
+ /* GL 4.1 */
+ { "glVertexAttribL1d", 41, -1 },
+ { "glVertexAttribL2d", 41, -1 },
+ { "glVertexAttribL3d", 41, -1 },
+ { "glVertexAttribL4d", 41, -1 },
+ { "glVertexAttribL1dv", 41, -1 },
+ { "glVertexAttribL2dv", 41, -1 },
+ { "glVertexAttribL3dv", 41, -1 },
+ { "glVertexAttribL4dv", 41, -1 },
+ { "glVertexAttribLPointer", 41, -1 },
+ { "glGetVertexAttribLdv", 41, -1 },
+
/* GL 4.3 */
{ "glIsRenderbuffer", 43, -1 },
{ "glBindRenderbuffer", 43, -1 },
{ "glValidateProgramPipeline", 43, -1 },
{ "glGetProgramPipelineInfoLog", 43, -1 },
- { "glVertexAttribL1d", 41, -1 },
- { "glVertexAttribL2d", 41, -1 },
- { "glVertexAttribL3d", 41, -1 },
- { "glVertexAttribL4d", 41, -1 },
- { "glVertexAttribL1dv", 41, -1 },
- { "glVertexAttribL2dv", 41, -1 },
- { "glVertexAttribL3dv", 41, -1 },
- { "glVertexAttribL4dv", 41, -1 },
- { "glVertexAttribLPointer", 41, -1 },
- { "glGetVertexAttribLdv", 41, -1 },
-
// { "glCreateSyncFromCLeventARB", 43, -1 }, // XXX: Add to xml
{ "glDrawArraysInstancedBaseInstance", 43, -1 },
SET_VertexAttribL1ui64vARB(tab, vfmt->VertexAttribL1ui64vARB);
}
- if (ctx->API == API_OPENGL_CORE) {
+ if (_mesa_is_desktop_gl(ctx)) {
/* GL_ARB_vertex_attrib_64bit */
SET_VertexAttribL1d(tab, vfmt->VertexAttribL1d);
SET_VertexAttribL2d(tab, vfmt->VertexAttribL2d);