Commit da7bd6a9 authored by Zack Rusin's avatar Zack Rusin

mesa: initial support for ARB_geometry_shader4

laying down the foundation for everything and implementing most of the
stuff.
linking, gl_VerticesIn and multidimensional inputs are left.
parent 0b50fcbd
......@@ -166,6 +166,8 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
return LP_MAX_TGSI_PREDS;
case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
return 1;
case PIPE_CAP_GEOMETRY_SHADER4:
return 1;
default:
assert(0);
return 0;
......
......@@ -207,6 +207,8 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
return 1; /* XXX guessed */
case PIPE_CAP_MAX_VS_PREDS:
return is_r500 ? 4 : 0; /* XXX guessed. */
case PIPE_CAP_GEOMETRY_SHADER4:
return 0;
default:
fprintf(stderr, "r300: Implementation error: Bad param %d\n",
......
......@@ -149,6 +149,9 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
return 0;
case PIPE_CAP_GEOMETRY_SHADER4:
return 1;
default:
return 0;
}
......
......@@ -489,7 +489,9 @@ enum pipe_cap {
PIPE_CAP_MAX_VS_CONSTS,
PIPE_CAP_MAX_VS_TEMPS,
PIPE_CAP_MAX_VS_ADDRS,
PIPE_CAP_MAX_VS_PREDS
PIPE_CAP_MAX_VS_PREDS,
PIPE_CAP_GEOMETRY_SHADER4
};
......
......@@ -37,7 +37,7 @@ static void
usage(void)
{
printf("Usage:\n");
printf(" compile fragment|vertex <source> <output>\n");
printf(" compile fragment|vertex|geometry <source> <output>\n");
}
int
......@@ -65,6 +65,8 @@ main(int argc,
shader_type = 1;
} else if (!strcmp(argv[1], "vertex")) {
shader_type = 2;
} else if (!strcmp(argv[1], "geometry")) {
shader_type = 3;
} else {
usage();
return 1;
......
......@@ -246,6 +246,7 @@
#define PARAM_QUALIFIER_IN 0
#define PARAM_QUALIFIER_OUT 1
#define PARAM_QUALIFIER_INOUT 2
#define PARAM_QUALIFIER_NONE 3
/* function parameter */
#define PARAMETER_NONE 0
......@@ -836,7 +837,6 @@ _parse_storage_qualifier(struct parse_context *ctx,
return 0;
}
static int
_parse_struct_declarator(struct parse_context *ctx,
struct parse_state *ps)
......@@ -1114,6 +1114,21 @@ _parse_type_specifier(struct parse_context *ctx,
return 0;
}
static int
_parse_parameter_qualifier(struct parse_context *ctx,
struct parse_state *ps)
{
unsigned int e = _emit(ctx, &ps->out, PARAM_QUALIFIER_NONE);
if (_parse_id(ctx, ctx->dict.in, ps) == 0) {
_update(ctx, e, PARAM_QUALIFIER_IN);
} else if (_parse_id(ctx, ctx->dict.out, ps) == 0) {
_update(ctx, e, PARAM_QUALIFIER_OUT);
} else if (_parse_id(ctx, ctx->dict.inout, ps) == 0) {
_update(ctx, e, PARAM_QUALIFIER_INOUT);
}
return 0;
}
static int
_parse_fully_specified_type(struct parse_context *ctx,
......@@ -1136,6 +1151,7 @@ _parse_fully_specified_type(struct parse_context *ctx,
if (_parse_storage_qualifier(ctx, &p)) {
_emit(ctx, &p.out, TYPE_QUALIFIER_NONE);
}
_parse_parameter_qualifier(ctx, &p);
if (_parse_precision(ctx, &p)) {
_emit(ctx, &p.out, PRECISION_DEFAULT);
}
......@@ -1167,23 +1183,6 @@ _parse_function_header(struct parse_context *ctx,
}
static int
_parse_parameter_qualifier(struct parse_context *ctx,
struct parse_state *ps)
{
unsigned int e = _emit(ctx, &ps->out, PARAM_QUALIFIER_IN);
if (_parse_id(ctx, ctx->dict.out, ps) == 0) {
_update(ctx, e, PARAM_QUALIFIER_OUT);
} else if (_parse_id(ctx, ctx->dict.inout, ps) == 0) {
_update(ctx, e, PARAM_QUALIFIER_INOUT);
} else {
_parse_id(ctx, ctx->dict.in, ps);
}
return 0;
}
static int
_parse_function_identifier(struct parse_context *ctx,
struct parse_state *ps)
......
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
<!-- Note: no GLX protocol info yet. -->
<OpenGLAPI>
<category name="GL_ARB_geometry_shader4" number="47">
<enum name="GEOMETRY_SHADER_ARB" value="0x8DD9"/>
<enum name="GEOMETRY_VERTICES_OUT_ARB" value="0x8DDA"/>
<enum name="GEOMETRY_INPUT_TYPE_ARB" value="0x8DDB"/>
<enum name="GEOMETRY_OUTPUT_TYPE_ARB" value="0x8DDC"/>
<enum name="MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB" value="0x8C29"/>
<enum name="MAX_GEOMETRY_VARYING_COMPONENTS_ARB" value="0x8DDD"/>
<enum name="MAX_VERTEX_VARYING_COMPONENTS_ARB" value="0x8DDE"/>
<enum name="MAX_VARYING_COMPONENTS" value="0x8B4B"/>
<enum name="MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB" value="0x8DDF"/>
<enum name="MAX_GEOMETRY_OUTPUT_VERTICES_ARB" value="0x8DE0"/>
<enum name="MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB" value="0x8DE1"/>
<enum name="LINES_ADJACENCY_ARB" value="0xA"/>
<enum name="LINE_STRIP_ADJACENCY_ARB" value="0xB"/>
<enum name="TRIANGLES_ADJACENCY_ARB" value="0xC"/>
<enum name="TRIANGLE_STRIP_ADJACENCY_ARB" value="0xD"/>
<enum name="FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB" value="0x8DA8"/>
<enum name="FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB" value="0x8DA9"/>
<enum name="FRAMEBUFFER_ATTACHMENT_LAYERED_ARB" value="0x8DA7"/>
<enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER" value="0x8CD4"/>
<enum name="PROGRAM_POINT_SIZE_ARB" value="0x8642"/>
<function name="ProgramParameteriARB" offset="assign">
<param name="program" type="GLuint"/>
<param name="pname" type="GLenum"/>
<param name="value" type="GLint"/>
</function>
<function name="FramebufferTextureARB" offset="assign">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="texture" type="GLuint"/>
<param name="level" type="GLint"/>
</function>
<function name="FramebufferTextureLayerARB" alias="FramebufferTextureLayer">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="texture" type="GLuint"/>
<param name="level" type="GLint"/>
<param name="layer" type="GLint"/>
</function>
<function name="FramebufferTextureFaceARB" offset="assign">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="texture" type="GLuint"/>
<param name="level" type="GLint"/>
<param name="face" type="GLenum"/>
</function>
</category>
</OpenGLAPI>
......@@ -37,7 +37,7 @@ MESA_OUTPUTS = \
######################################################################
XORG_GLX_DIR = $(XORG_BASE)/glx
XORG_GLAPI_DIR = $(XORG_BASE)/glx/glapi
XORG_GLAPI_DIR = $(XORG_BASE)/glx
XORG_GLAPI_FILES = \
$(XORG_GLAPI_DIR)/glapi.h \
......@@ -76,6 +76,7 @@ API_XML = \
ARB_draw_elements_base_vertex.xml \
ARB_draw_instanced.xml \
ARB_framebuffer_object.xml \
ARB_geometry_shader4.xml \
ARB_map_buffer_range.xml \
ARB_seamless_cube_map.xml \
ARB_sync.xml \
......
......@@ -7971,6 +7971,8 @@
<xi:include href="ARB_draw_instanced.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="ARB_geometry_shader4.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<!-- Non-ARB extensions sorted by extension number. -->
......
......@@ -761,6 +761,9 @@ gl_dispatch_functions_start:
GL_STUB(glGetAttribLocationARB, _gloffset_GetAttribLocationARB)
GL_STUB(glDrawBuffersARB, _gloffset_DrawBuffersARB)
GL_STUB(glRenderbufferStorageMultisample, _gloffset_RenderbufferStorageMultisample)
GL_STUB(glFramebufferTextureARB, _gloffset_FramebufferTextureARB)
GL_STUB(glFramebufferTextureFaceARB, _gloffset_FramebufferTextureFaceARB)
GL_STUB(glProgramParameteriARB, _gloffset_ProgramParameteriARB)
GL_STUB(glFlushMappedBufferRange, _gloffset_FlushMappedBufferRange)
GL_STUB(glMapBufferRange, _gloffset_MapBufferRange)
GL_STUB(glBindVertexArray, _gloffset_BindVertexArray)
......@@ -776,23 +779,30 @@ gl_dispatch_functions_start:
GL_STUB(glDrawElementsBaseVertex, _gloffset_DrawElementsBaseVertex)
GL_STUB(glDrawRangeElementsBaseVertex, _gloffset_DrawRangeElementsBaseVertex)
GL_STUB(glMultiDrawElementsBaseVertex, _gloffset_MultiDrawElementsBaseVertex)
GL_STUB(glBindTransformFeedback, _gloffset_BindTransformFeedback)
GL_STUB(glDeleteTransformFeedbacks, _gloffset_DeleteTransformFeedbacks)
GL_STUB(glDrawTransformFeedback, _gloffset_DrawTransformFeedback)
GL_STUB(glGenTransformFeedbacks, _gloffset_GenTransformFeedbacks)
GL_STUB(glIsTransformFeedback, _gloffset_IsTransformFeedback)
GL_STUB(glPauseTransformFeedback, _gloffset_PauseTransformFeedback)
GL_STUB(glResumeTransformFeedback, _gloffset_ResumeTransformFeedback)
GL_STUB(glPolygonOffsetEXT, _gloffset_PolygonOffsetEXT)
GL_STUB(gl_dispatch_stub_580, _gloffset_GetPixelTexGenParameterfvSGIS)
HIDDEN(gl_dispatch_stub_580)
GL_STUB(gl_dispatch_stub_581, _gloffset_GetPixelTexGenParameterivSGIS)
HIDDEN(gl_dispatch_stub_581)
GL_STUB(gl_dispatch_stub_582, _gloffset_PixelTexGenParameterfSGIS)
HIDDEN(gl_dispatch_stub_582)
GL_STUB(gl_dispatch_stub_583, _gloffset_PixelTexGenParameterfvSGIS)
HIDDEN(gl_dispatch_stub_583)
GL_STUB(gl_dispatch_stub_584, _gloffset_PixelTexGenParameteriSGIS)
HIDDEN(gl_dispatch_stub_584)
GL_STUB(gl_dispatch_stub_585, _gloffset_PixelTexGenParameterivSGIS)
HIDDEN(gl_dispatch_stub_585)
GL_STUB(gl_dispatch_stub_586, _gloffset_SampleMaskSGIS)
HIDDEN(gl_dispatch_stub_586)
GL_STUB(gl_dispatch_stub_587, _gloffset_SamplePatternSGIS)
HIDDEN(gl_dispatch_stub_587)
GL_STUB(gl_dispatch_stub_590, _gloffset_GetPixelTexGenParameterfvSGIS)
HIDDEN(gl_dispatch_stub_590)
GL_STUB(gl_dispatch_stub_591, _gloffset_GetPixelTexGenParameterivSGIS)
HIDDEN(gl_dispatch_stub_591)
GL_STUB(gl_dispatch_stub_592, _gloffset_PixelTexGenParameterfSGIS)
HIDDEN(gl_dispatch_stub_592)
GL_STUB(gl_dispatch_stub_593, _gloffset_PixelTexGenParameterfvSGIS)
HIDDEN(gl_dispatch_stub_593)
GL_STUB(gl_dispatch_stub_594, _gloffset_PixelTexGenParameteriSGIS)
HIDDEN(gl_dispatch_stub_594)
GL_STUB(gl_dispatch_stub_595, _gloffset_PixelTexGenParameterivSGIS)
HIDDEN(gl_dispatch_stub_595)
GL_STUB(gl_dispatch_stub_596, _gloffset_SampleMaskSGIS)
HIDDEN(gl_dispatch_stub_596)
GL_STUB(gl_dispatch_stub_597, _gloffset_SamplePatternSGIS)
HIDDEN(gl_dispatch_stub_597)
GL_STUB(glColorPointerEXT, _gloffset_ColorPointerEXT)
GL_STUB(glEdgeFlagPointerEXT, _gloffset_EdgeFlagPointerEXT)
GL_STUB(glIndexPointerEXT, _gloffset_IndexPointerEXT)
......@@ -803,10 +813,10 @@ gl_dispatch_functions_start:
GL_STUB(glPointParameterfvEXT, _gloffset_PointParameterfvEXT)
GL_STUB(glLockArraysEXT, _gloffset_LockArraysEXT)
GL_STUB(glUnlockArraysEXT, _gloffset_UnlockArraysEXT)
GL_STUB(gl_dispatch_stub_598, _gloffset_CullParameterdvEXT)
HIDDEN(gl_dispatch_stub_598)
GL_STUB(gl_dispatch_stub_599, _gloffset_CullParameterfvEXT)
HIDDEN(gl_dispatch_stub_599)
GL_STUB(gl_dispatch_stub_608, _gloffset_CullParameterdvEXT)
HIDDEN(gl_dispatch_stub_608)
GL_STUB(gl_dispatch_stub_609, _gloffset_CullParameterfvEXT)
HIDDEN(gl_dispatch_stub_609)
GL_STUB(glSecondaryColor3bEXT, _gloffset_SecondaryColor3bEXT)
GL_STUB(glSecondaryColor3bvEXT, _gloffset_SecondaryColor3bvEXT)
GL_STUB(glSecondaryColor3dEXT, _gloffset_SecondaryColor3dEXT)
......@@ -831,8 +841,8 @@ gl_dispatch_functions_start:
GL_STUB(glFogCoorddvEXT, _gloffset_FogCoorddvEXT)
GL_STUB(glFogCoordfEXT, _gloffset_FogCoordfEXT)
GL_STUB(glFogCoordfvEXT, _gloffset_FogCoordfvEXT)
GL_STUB(gl_dispatch_stub_624, _gloffset_PixelTexGenSGIX)
HIDDEN(gl_dispatch_stub_624)
GL_STUB(gl_dispatch_stub_634, _gloffset_PixelTexGenSGIX)
HIDDEN(gl_dispatch_stub_634)
GL_STUB(glBlendFuncSeparateEXT, _gloffset_BlendFuncSeparateEXT)
GL_STUB(glFlushVertexArrayRangeNV, _gloffset_FlushVertexArrayRangeNV)
GL_STUB(glVertexArrayRangeNV, _gloffset_VertexArrayRangeNV)
......@@ -874,24 +884,24 @@ gl_dispatch_functions_start:
GL_STUB(glWindowPos4ivMESA, _gloffset_WindowPos4ivMESA)
GL_STUB(glWindowPos4sMESA, _gloffset_WindowPos4sMESA)
GL_STUB(glWindowPos4svMESA, _gloffset_WindowPos4svMESA)
GL_STUB(gl_dispatch_stub_666, _gloffset_MultiModeDrawArraysIBM)
HIDDEN(gl_dispatch_stub_666)
GL_STUB(gl_dispatch_stub_667, _gloffset_MultiModeDrawElementsIBM)
HIDDEN(gl_dispatch_stub_667)
GL_STUB(gl_dispatch_stub_668, _gloffset_DeleteFencesNV)
HIDDEN(gl_dispatch_stub_668)
GL_STUB(gl_dispatch_stub_669, _gloffset_FinishFenceNV)
HIDDEN(gl_dispatch_stub_669)
GL_STUB(gl_dispatch_stub_670, _gloffset_GenFencesNV)
HIDDEN(gl_dispatch_stub_670)
GL_STUB(gl_dispatch_stub_671, _gloffset_GetFenceivNV)
HIDDEN(gl_dispatch_stub_671)
GL_STUB(gl_dispatch_stub_672, _gloffset_IsFenceNV)
HIDDEN(gl_dispatch_stub_672)
GL_STUB(gl_dispatch_stub_673, _gloffset_SetFenceNV)
HIDDEN(gl_dispatch_stub_673)
GL_STUB(gl_dispatch_stub_674, _gloffset_TestFenceNV)
HIDDEN(gl_dispatch_stub_674)
GL_STUB(gl_dispatch_stub_676, _gloffset_MultiModeDrawArraysIBM)
HIDDEN(gl_dispatch_stub_676)
GL_STUB(gl_dispatch_stub_677, _gloffset_MultiModeDrawElementsIBM)
HIDDEN(gl_dispatch_stub_677)
GL_STUB(gl_dispatch_stub_678, _gloffset_DeleteFencesNV)
HIDDEN(gl_dispatch_stub_678)
GL_STUB(gl_dispatch_stub_679, _gloffset_FinishFenceNV)
HIDDEN(gl_dispatch_stub_679)
GL_STUB(gl_dispatch_stub_680, _gloffset_GenFencesNV)
HIDDEN(gl_dispatch_stub_680)
GL_STUB(gl_dispatch_stub_681, _gloffset_GetFenceivNV)
HIDDEN(gl_dispatch_stub_681)
GL_STUB(gl_dispatch_stub_682, _gloffset_IsFenceNV)
HIDDEN(gl_dispatch_stub_682)
GL_STUB(gl_dispatch_stub_683, _gloffset_SetFenceNV)
HIDDEN(gl_dispatch_stub_683)
GL_STUB(gl_dispatch_stub_684, _gloffset_TestFenceNV)
HIDDEN(gl_dispatch_stub_684)
GL_STUB(glAreProgramsResidentNV, _gloffset_AreProgramsResidentNV)
GL_STUB(glBindProgramNV, _gloffset_BindProgramNV)
GL_STUB(glDeleteProgramsNV, _gloffset_DeleteProgramsNV)
......@@ -972,26 +982,26 @@ gl_dispatch_functions_start:
GL_STUB(glSetFragmentShaderConstantATI, _gloffset_SetFragmentShaderConstantATI)
GL_STUB(glPointParameteriNV, _gloffset_PointParameteriNV)
GL_STUB(glPointParameterivNV, _gloffset_PointParameterivNV)
GL_STUB(gl_dispatch_stub_755, _gloffset_ActiveStencilFaceEXT)
HIDDEN(gl_dispatch_stub_755)
GL_STUB(gl_dispatch_stub_756, _gloffset_BindVertexArrayAPPLE)
HIDDEN(gl_dispatch_stub_756)
GL_STUB(gl_dispatch_stub_757, _gloffset_DeleteVertexArraysAPPLE)
HIDDEN(gl_dispatch_stub_757)
GL_STUB(gl_dispatch_stub_758, _gloffset_GenVertexArraysAPPLE)
HIDDEN(gl_dispatch_stub_758)
GL_STUB(gl_dispatch_stub_759, _gloffset_IsVertexArrayAPPLE)
HIDDEN(gl_dispatch_stub_759)
GL_STUB(gl_dispatch_stub_765, _gloffset_ActiveStencilFaceEXT)
HIDDEN(gl_dispatch_stub_765)
GL_STUB(gl_dispatch_stub_766, _gloffset_BindVertexArrayAPPLE)
HIDDEN(gl_dispatch_stub_766)
GL_STUB(gl_dispatch_stub_767, _gloffset_DeleteVertexArraysAPPLE)
HIDDEN(gl_dispatch_stub_767)
GL_STUB(gl_dispatch_stub_768, _gloffset_GenVertexArraysAPPLE)
HIDDEN(gl_dispatch_stub_768)
GL_STUB(gl_dispatch_stub_769, _gloffset_IsVertexArrayAPPLE)
HIDDEN(gl_dispatch_stub_769)
GL_STUB(glGetProgramNamedParameterdvNV, _gloffset_GetProgramNamedParameterdvNV)
GL_STUB(glGetProgramNamedParameterfvNV, _gloffset_GetProgramNamedParameterfvNV)
GL_STUB(glProgramNamedParameter4dNV, _gloffset_ProgramNamedParameter4dNV)
GL_STUB(glProgramNamedParameter4dvNV, _gloffset_ProgramNamedParameter4dvNV)
GL_STUB(glProgramNamedParameter4fNV, _gloffset_ProgramNamedParameter4fNV)
GL_STUB(glProgramNamedParameter4fvNV, _gloffset_ProgramNamedParameter4fvNV)
GL_STUB(gl_dispatch_stub_766, _gloffset_DepthBoundsEXT)
HIDDEN(gl_dispatch_stub_766)
GL_STUB(gl_dispatch_stub_767, _gloffset_BlendEquationSeparateEXT)
HIDDEN(gl_dispatch_stub_767)
GL_STUB(gl_dispatch_stub_776, _gloffset_DepthBoundsEXT)
HIDDEN(gl_dispatch_stub_776)
GL_STUB(gl_dispatch_stub_777, _gloffset_BlendEquationSeparateEXT)
HIDDEN(gl_dispatch_stub_777)
GL_STUB(glBindFramebufferEXT, _gloffset_BindFramebufferEXT)
GL_STUB(glBindRenderbufferEXT, _gloffset_BindRenderbufferEXT)
GL_STUB(glCheckFramebufferStatusEXT, _gloffset_CheckFramebufferStatusEXT)
......@@ -1009,12 +1019,12 @@ gl_dispatch_functions_start:
GL_STUB(glIsFramebufferEXT, _gloffset_IsFramebufferEXT)
GL_STUB(glIsRenderbufferEXT, _gloffset_IsRenderbufferEXT)
GL_STUB(glRenderbufferStorageEXT, _gloffset_RenderbufferStorageEXT)
GL_STUB(gl_dispatch_stub_785, _gloffset_BlitFramebufferEXT)
HIDDEN(gl_dispatch_stub_785)
GL_STUB(gl_dispatch_stub_786, _gloffset_BufferParameteriAPPLE)
HIDDEN(gl_dispatch_stub_786)
GL_STUB(gl_dispatch_stub_787, _gloffset_FlushMappedBufferRangeAPPLE)
HIDDEN(gl_dispatch_stub_787)
GL_STUB(gl_dispatch_stub_795, _gloffset_BlitFramebufferEXT)
HIDDEN(gl_dispatch_stub_795)
GL_STUB(gl_dispatch_stub_796, _gloffset_BufferParameteriAPPLE)
HIDDEN(gl_dispatch_stub_796)
GL_STUB(gl_dispatch_stub_797, _gloffset_FlushMappedBufferRangeAPPLE)
HIDDEN(gl_dispatch_stub_797)
GL_STUB(glFramebufferTextureLayerEXT, _gloffset_FramebufferTextureLayerEXT)
GL_STUB(glColorMaskIndexedEXT, _gloffset_ColorMaskIndexedEXT)
GL_STUB(glDisableIndexedEXT, _gloffset_DisableIndexedEXT)
......@@ -1032,23 +1042,23 @@ gl_dispatch_functions_start:
GL_STUB(glGetTransformFeedbackVaryingEXT, _gloffset_GetTransformFeedbackVaryingEXT)
GL_STUB(glTransformFeedbackVaryingsEXT, _gloffset_TransformFeedbackVaryingsEXT)
GL_STUB(glProvokingVertexEXT, _gloffset_ProvokingVertexEXT)
GL_STUB(gl_dispatch_stub_805, _gloffset_GetTexParameterPointervAPPLE)
HIDDEN(gl_dispatch_stub_805)
GL_STUB(gl_dispatch_stub_806, _gloffset_TextureRangeAPPLE)
HIDDEN(gl_dispatch_stub_806)
GL_STUB(gl_dispatch_stub_815, _gloffset_GetTexParameterPointervAPPLE)
HIDDEN(gl_dispatch_stub_815)
GL_STUB(gl_dispatch_stub_816, _gloffset_TextureRangeAPPLE)
HIDDEN(gl_dispatch_stub_816)
GL_STUB(glGetObjectParameterivAPPLE, _gloffset_GetObjectParameterivAPPLE)
GL_STUB(glObjectPurgeableAPPLE, _gloffset_ObjectPurgeableAPPLE)
GL_STUB(glObjectUnpurgeableAPPLE, _gloffset_ObjectUnpurgeableAPPLE)
GL_STUB(gl_dispatch_stub_810, _gloffset_StencilFuncSeparateATI)
HIDDEN(gl_dispatch_stub_810)
GL_STUB(gl_dispatch_stub_811, _gloffset_ProgramEnvParameters4fvEXT)
HIDDEN(gl_dispatch_stub_811)
GL_STUB(gl_dispatch_stub_812, _gloffset_ProgramLocalParameters4fvEXT)
HIDDEN(gl_dispatch_stub_812)
GL_STUB(gl_dispatch_stub_813, _gloffset_GetQueryObjecti64vEXT)
HIDDEN(gl_dispatch_stub_813)
GL_STUB(gl_dispatch_stub_814, _gloffset_GetQueryObjectui64vEXT)
HIDDEN(gl_dispatch_stub_814)
GL_STUB(gl_dispatch_stub_820, _gloffset_StencilFuncSeparateATI)
HIDDEN(gl_dispatch_stub_820)
GL_STUB(gl_dispatch_stub_821, _gloffset_ProgramEnvParameters4fvEXT)
HIDDEN(gl_dispatch_stub_821)
GL_STUB(gl_dispatch_stub_822, _gloffset_ProgramLocalParameters4fvEXT)
HIDDEN(gl_dispatch_stub_822)
GL_STUB(gl_dispatch_stub_823, _gloffset_GetQueryObjecti64vEXT)
HIDDEN(gl_dispatch_stub_823)
GL_STUB(gl_dispatch_stub_824, _gloffset_GetQueryObjectui64vEXT)
HIDDEN(gl_dispatch_stub_824)
GL_STUB(glEGLImageTargetRenderbufferStorageOES, _gloffset_EGLImageTargetRenderbufferStorageOES)
GL_STUB(glEGLImageTargetTexture2DOES, _gloffset_EGLImageTargetTexture2DOES)
GL_STUB_ALIAS(glArrayElementEXT, glArrayElement)
......
This diff is collapsed.
......@@ -715,6 +715,9 @@ GLNAME(gl_dispatch_functions_start):
GL_STUB(GetAttribLocationARB, _gloffset_GetAttribLocationARB, GetAttribLocationARB@8)
GL_STUB(DrawBuffersARB, _gloffset_DrawBuffersARB, DrawBuffersARB@8)
GL_STUB(RenderbufferStorageMultisample, _gloffset_RenderbufferStorageMultisample, RenderbufferStorageMultisample@20)
GL_STUB(FramebufferTextureARB, _gloffset_FramebufferTextureARB, FramebufferTextureARB@16)
GL_STUB(FramebufferTextureFaceARB, _gloffset_FramebufferTextureFaceARB, FramebufferTextureFaceARB@20)
GL_STUB(ProgramParameteriARB, _gloffset_ProgramParameteriARB, ProgramParameteriARB@12)
GL_STUB(FlushMappedBufferRange, _gloffset_FlushMappedBufferRange, FlushMappedBufferRange@12)
GL_STUB(MapBufferRange, _gloffset_MapBufferRange, MapBufferRange@16)
GL_STUB(BindVertexArray, _gloffset_BindVertexArray, BindVertexArray@4)
......@@ -730,23 +733,30 @@ GLNAME(gl_dispatch_functions_start):
GL_STUB(DrawElementsBaseVertex, _gloffset_DrawElementsBaseVertex, DrawElementsBaseVertex@20)
GL_STUB(DrawRangeElementsBaseVertex, _gloffset_DrawRangeElementsBaseVertex, DrawRangeElementsBaseVertex@28)
GL_STUB(MultiDrawElementsBaseVertex, _gloffset_MultiDrawElementsBaseVertex, MultiDrawElementsBaseVertex@24)
GL_STUB(BindTransformFeedback, _gloffset_BindTransformFeedback, BindTransformFeedback@8)
GL_STUB(DeleteTransformFeedbacks, _gloffset_DeleteTransformFeedbacks, DeleteTransformFeedbacks@8)
GL_STUB(DrawTransformFeedback, _gloffset_DrawTransformFeedback, DrawTransformFeedback@8)
GL_STUB(GenTransformFeedbacks, _gloffset_GenTransformFeedbacks, GenTransformFeedbacks@8)
GL_STUB(IsTransformFeedback, _gloffset_IsTransformFeedback, IsTransformFeedback@4)
GL_STUB(PauseTransformFeedback, _gloffset_PauseTransformFeedback, PauseTransformFeedback@0)
GL_STUB(ResumeTransformFeedback, _gloffset_ResumeTransformFeedback, ResumeTransformFeedback@0)
GL_STUB(PolygonOffsetEXT, _gloffset_PolygonOffsetEXT, PolygonOffsetEXT@8)
GL_STUB(_dispatch_stub_580, _gloffset_GetPixelTexGenParameterfvSGIS, _dispatch_stub_580@8)
HIDDEN(GL_PREFIX(_dispatch_stub_580, _dispatch_stub_580@8))
GL_STUB(_dispatch_stub_581, _gloffset_GetPixelTexGenParameterivSGIS, _dispatch_stub_581@8)
HIDDEN(GL_PREFIX(_dispatch_stub_581, _dispatch_stub_581@8))
GL_STUB(_dispatch_stub_582, _gloffset_PixelTexGenParameterfSGIS, _dispatch_stub_582@8)
HIDDEN(GL_PREFIX(_dispatch_stub_582, _dispatch_stub_582@8))
GL_STUB(_dispatch_stub_583, _gloffset_PixelTexGenParameterfvSGIS, _dispatch_stub_583@8)
HIDDEN(GL_PREFIX(_dispatch_stub_583, _dispatch_stub_583@8))
GL_STUB(_dispatch_stub_584, _gloffset_PixelTexGenParameteriSGIS, _dispatch_stub_584@8)
HIDDEN(GL_PREFIX(_dispatch_stub_584, _dispatch_stub_584@8))
GL_STUB(_dispatch_stub_585, _gloffset_PixelTexGenParameterivSGIS, _dispatch_stub_585@8)
HIDDEN(GL_PREFIX(_dispatch_stub_585, _dispatch_stub_585@8))
GL_STUB(_dispatch_stub_586, _gloffset_SampleMaskSGIS, _dispatch_stub_586@8)
HIDDEN(GL_PREFIX(_dispatch_stub_586, _dispatch_stub_586@8))
GL_STUB(_dispatch_stub_587, _gloffset_SamplePatternSGIS, _dispatch_stub_587@4)
HIDDEN(GL_PREFIX(_dispatch_stub_587, _dispatch_stub_587@4))
GL_STUB(_dispatch_stub_590, _gloffset_GetPixelTexGenParameterfvSGIS, _dispatch_stub_590@8)
HIDDEN(GL_PREFIX(_dispatch_stub_590, _dispatch_stub_590@8))
GL_STUB(_dispatch_stub_591, _gloffset_GetPixelTexGenParameterivSGIS, _dispatch_stub_591@8)
HIDDEN(GL_PREFIX(_dispatch_stub_591, _dispatch_stub_591@8))
GL_STUB(_dispatch_stub_592, _gloffset_PixelTexGenParameterfSGIS, _dispatch_stub_592@8)
HIDDEN(GL_PREFIX(_dispatch_stub_592, _dispatch_stub_592@8))
GL_STUB(_dispatch_stub_593, _gloffset_PixelTexGenParameterfvSGIS, _dispatch_stub_593@8)
HIDDEN(GL_PREFIX(_dispatch_stub_593, _dispatch_stub_593@8))
GL_STUB(_dispatch_stub_594, _gloffset_PixelTexGenParameteriSGIS, _dispatch_stub_594@8)
HIDDEN(GL_PREFIX(_dispatch_stub_594, _dispatch_stub_594@8))
GL_STUB(_dispatch_stub_595, _gloffset_PixelTexGenParameterivSGIS, _dispatch_stub_595@8)
HIDDEN(GL_PREFIX(_dispatch_stub_595, _dispatch_stub_595@8))
GL_STUB(_dispatch_stub_596, _gloffset_SampleMaskSGIS, _dispatch_stub_596@8)
HIDDEN(GL_PREFIX(_dispatch_stub_596, _dispatch_stub_596@8))
GL_STUB(_dispatch_stub_597, _gloffset_SamplePatternSGIS, _dispatch_stub_597@4)
HIDDEN(GL_PREFIX(_dispatch_stub_597, _dispatch_stub_597@4))
GL_STUB(ColorPointerEXT, _gloffset_ColorPointerEXT, ColorPointerEXT@20)
GL_STUB(EdgeFlagPointerEXT, _gloffset_EdgeFlagPointerEXT, EdgeFlagPointerEXT@12)
GL_STUB(IndexPointerEXT, _gloffset_IndexPointerEXT, IndexPointerEXT@16)
......@@ -757,10 +767,10 @@ GLNAME(gl_dispatch_functions_start):
GL_STUB(PointParameterfvEXT, _gloffset_PointParameterfvEXT, PointParameterfvEXT@8)
GL_STUB(LockArraysEXT, _gloffset_LockArraysEXT, LockArraysEXT@8)
GL_STUB(UnlockArraysEXT, _gloffset_UnlockArraysEXT, UnlockArraysEXT@0)
GL_STUB(_dispatch_stub_598, _gloffset_CullParameterdvEXT, _dispatch_stub_598@8)
HIDDEN(GL_PREFIX(_dispatch_stub_598, _dispatch_stub_598@8))
GL_STUB(_dispatch_stub_599, _gloffset_CullParameterfvEXT, _dispatch_stub_599@8)
HIDDEN(GL_PREFIX(_dispatch_stub_599, _dispatch_stub_599@8))
GL_STUB(_dispatch_stub_608, _gloffset_CullParameterdvEXT, _dispatch_stub_608@8)
HIDDEN(GL_PREFIX(_dispatch_stub_608, _dispatch_stub_608@8))
GL_STUB(_dispatch_stub_609, _gloffset_CullParameterfvEXT, _dispatch_stub_609@8)
HIDDEN(GL_PREFIX(_dispatch_stub_609, _dispatch_stub_609@8))
GL_STUB(SecondaryColor3bEXT, _gloffset_SecondaryColor3bEXT, SecondaryColor3bEXT@12)
GL_STUB(SecondaryColor3bvEXT, _gloffset_SecondaryColor3bvEXT, SecondaryColor3bvEXT@4)
GL_STUB(SecondaryColor3dEXT, _gloffset_SecondaryColor3dEXT, SecondaryColor3dEXT@24)
......@@ -785,8 +795,8 @@ GLNAME(gl_dispatch_functions_start):
GL_STUB(FogCoorddvEXT, _gloffset_FogCoorddvEXT, FogCoorddvEXT@4)
GL_STUB(FogCoordfEXT, _gloffset_FogCoordfEXT, FogCoordfEXT@4)
GL_STUB(FogCoordfvEXT, _gloffset_FogCoordfvEXT, FogCoordfvEXT@4)
GL_STUB(_dispatch_stub_624, _gloffset_PixelTexGenSGIX, _dispatch_stub_624@4)
HIDDEN(GL_PREFIX(_dispatch_stub_624, _dispatch_stub_624@4))
GL_STUB(_dispatch_stub_634, _gloffset_PixelTexGenSGIX, _dispatch_stub_634@4)
HIDDEN(GL_PREFIX(_dispatch_stub_634, _dispatch_stub_634@4))
GL_STUB(BlendFuncSeparateEXT, _gloffset_BlendFuncSeparateEXT, BlendFuncSeparateEXT@16)
GL_STUB(FlushVertexArrayRangeNV, _gloffset_FlushVertexArrayRangeNV, FlushVertexArrayRangeNV@0)
GL_STUB(VertexArrayRangeNV, _gloffset_VertexArrayRangeNV, VertexArrayRangeNV@8)
......@@ -828,24 +838,24 @@ GLNAME(gl_dispatch_functions_start):
GL_STUB(WindowPos4ivMESA, _gloffset_WindowPos4ivMESA, WindowPos4ivMESA@4)
GL_STUB(WindowPos4sMESA, _gloffset_WindowPos4sMESA, WindowPos4sMESA@16)
GL_STUB(WindowPos4svMESA, _gloffset_WindowPos4svMESA, WindowPos4svMESA@4)
GL_STUB(_dispatch_stub_666, _gloffset_MultiModeDrawArraysIBM, _dispatch_stub_666@20)
HIDDEN(GL_PREFIX(_dispatch_stub_666, _dispatch_stub_666@20))
GL_STUB(_dispatch_stub_667, _gloffset_MultiModeDrawElementsIBM, _dispatch_stub_667@24)
HIDDEN(GL_PREFIX(_dispatch_stub_667, _dispatch_stub_667@24))
GL_STUB(_dispatch_stub_668, _gloffset_DeleteFencesNV, _dispatch_stub_668@8)
HIDDEN(GL_PREFIX(_dispatch_stub_668, _dispatch_stub_668@8))
GL_STUB(_dispatch_stub_669, _gloffset_FinishFenceNV, _dispatch_stub_669@4)
HIDDEN(GL_PREFIX(_dispatch_stub_669, _dispatch_stub_669@4))
GL_STUB(_dispatch_stub_670, _gloffset_GenFencesNV, _dispatch_stub_670@8)
HIDDEN(GL_PREFIX(_dispatch_stub_670, _dispatch_stub_670@8))
GL_STUB(_dispatch_stub_671, _gloffset_GetFenceivNV, _dispatch_stub_671@12)
HIDDEN(GL_PREFIX(_dispatch_stub_671, _dispatch_stub_671@12))
GL_STUB(_dispatch_stub_672, _gloffset_IsFenceNV, _dispatch_stub_672@4)
HIDDEN(GL_PREFIX(_dispatch_stub_672, _dispatch_stub_672@4))
GL_STUB(_dispatch_stub_673, _gloffset_SetFenceNV, _dispatch_stub_673@8)
HIDDEN(GL_PREFIX(_dispatch_stub_673, _dispatch_stub_673@8))
GL_STUB(_dispatch_stub_674, _gloffset_TestFenceNV, _dispatch_stub_674@4)
HIDDEN(GL_PREFIX(_dispatch_stub_674, _dispatch_stub_674@4))
GL_STUB(_dispatch_stub_676, _gloffset_MultiModeDrawArraysIBM, _dispatch_stub_676@20)
HIDDEN(GL_PREFIX(_dispatch_stub_676, _dispatch_stub_676@20))
GL_STUB(_dispatch_stub_677, _gloffset_MultiModeDrawElementsIBM, _dispatch_stub_677@24)
HIDDEN(GL_PREFIX(_dispatch_stub_677, _dispatch_stub_677@24))
GL_STUB(_dispatch_stub_678, _gloffset_DeleteFencesNV, _dispatch_stub_678@8)
HIDDEN(GL_PREFIX(_dispatch_stub_678, _dispatch_stub_678@8))
GL_STUB(_dispatch_stub_679, _gloffset_FinishFenceNV, _dispatch_stub_679@4)
HIDDEN(GL_PREFIX(_dispatch_stub_679, _dispatch_stub_679@4))
GL_STUB(_dispatch_stub_680, _gloffset_GenFencesNV, _dispatch_stub_680@8)
HIDDEN(GL_PREFIX(_dispatch_stub_680, _dispatch_stub_680@8))
GL_STUB(_dispatch_stub_681, _gloffset_GetFenceivNV, _dispatch_stub_681@12)
HIDDEN(GL_PREFIX(_dispatch_stub_681, _dispatch_stub_681@12))
GL_STUB(_dispatch_stub_682, _gloffset_IsFenceNV, _dispatch_stub_682@4)
HIDDEN(GL_PREFIX(_dispatch_stub_682, _dispatch_stub_682@4))
GL_STUB(_dispatch_stub_683, _gloffset_SetFenceNV, _dispatch_stub_683@8)
HIDDEN(GL_PREFIX(_dispatch_stub_683, _dispatch_stub_683@8))
GL_STUB(_dispatch_stub_684, _gloffset_TestFenceNV, _dispatch_stub_684@4)
HIDDEN(GL_PREFIX(_dispatch_stub_684, _dispatch_stub_684@4))
GL_STUB(AreProgramsResidentNV, _gloffset_AreProgramsResidentNV, AreProgramsResidentNV@12)
GL_STUB(BindProgramNV, _gloffset_BindProgramNV, BindProgramNV@8)
GL_STUB(DeleteProgramsNV, _gloffset_DeleteProgramsNV, DeleteProgramsNV@8)
......@@ -926,26 +936,26 @@ GLNAME(gl_dispatch_functions_start):
GL_STUB(SetFragmentShaderConstantATI, _gloffset_SetFragmentShaderConstantATI, SetFragmentShaderConstantATI@8)
GL_STUB(PointParameteriNV, _gloffset_PointParameteriNV, PointParameteriNV@8)
GL_STUB(PointParameterivNV, _gloffset_PointParameterivNV, PointParameterivNV@8)
GL_STUB(_dispatch_stub_755, _gloffset_ActiveStencilFaceEXT, _dispatch_stub_755@4)
HIDDEN(GL_PREFIX(_dispatch_stub_755, _dispatch_stub_755@4))
GL_STUB(_dispatch_stub_756, _gloffset_BindVertexArrayAPPLE, _dispatch_stub_756@4)
HIDDEN(GL_PREFIX(_dispatch_stub_756, _dispatch_stub_756@4))
GL_STUB(_dispatch_stub_757, _gloffset_DeleteVertexArraysAPPLE, _dispatch_stub_757@8)
HIDDEN(GL_PREFIX(_dispatch_stub_757, _dispatch_stub_757@8))
GL_STUB(_dispatch_stub_758, _gloffset_GenVertexArraysAPPLE, _dispatch_stub_758@8)
HIDDEN(GL_PREFIX(_dispatch_stub_758, _dispatch_stub_758@8))
GL_STUB(_dispatch_stub_759, _gloffset_IsVertexArrayAPPLE, _dispatch_stub_759@4)
HIDDEN(GL_PREFIX(_dispatch_stub_759, _dispatch_stub_759@4))
GL_STUB(_dispatch_stub_765, _gloffset_ActiveStencilFaceEXT, _dispatch_stub_765@4)
HIDDEN(GL_PREFIX(_dispatch_stub_765, _dispatch_stub_765@4))
GL_STUB(_dispatch_stub_766, _gloffset_BindVertexArrayAPPLE, _dispatch_stub_766@4)
HIDDEN(GL_PREFIX(_dispatch_stub_766, _dispatch_stub_766@4))
GL_STUB(_dispatch_stub_767, _gloffset_DeleteVertexArraysAPPLE, _dispatch_stub_767@8)
HIDDEN(GL_PREFIX(_dispatch_stub_767, _dispatch_stub_767@8))
GL_STUB(_dispatch_stub_768, _gloffset_GenVertexArraysAPPLE, _dispatch_stub_768@8)
HIDDEN(GL_PREFIX(_dispatch_stub_768, _dispatch_stub_768@8))