From 86b842790b720cd6b1499ce8edca8a4e9c8dc029 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 14 Dec 2001 02:50:01 +0000 Subject: vertex program check-in --- src/mesa/x86/glapi_x86.S | 384 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 384 insertions(+) (limited to 'src/mesa/x86') diff --git a/src/mesa/x86/glapi_x86.S b/src/mesa/x86/glapi_x86.S index 1b439238861..82d72ab8359 100644 --- a/src/mesa/x86/glapi_x86.S +++ b/src/mesa/x86/glapi_x86.S @@ -4123,5 +4123,389 @@ GL_PREFIX(WindowPos3svARB): MOV_L(GLNAME(_glapi_Dispatch), EAX) JMP(GL_OFFSET(_gloffset_WindowPos3svARB)) +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(BindProgramNV)) +GL_PREFIX(BindProgramNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_BindProgramNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(DeleteProgramsNV)) +GL_PREFIX(DeleteProgramsNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_DeleteProgramsNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ExecuteProgramNV)) +GL_PREFIX(ExecuteProgramNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_ExecuteProgramNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GenProgramsNV)) +GL_PREFIX(GenProgramsNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_GenProgramsNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(AreProgramsResidentNV)) +GL_PREFIX(AreProgramsResidentNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_AreProgramsResidentNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(RequestResidentProgramsNV)) +GL_PREFIX(RequestResidentProgramsNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_RequestResidentProgramsNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramParameterfvNV)) +GL_PREFIX(GetProgramParameterfvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramParameterfvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramParameterdvNV)) +GL_PREFIX(GetProgramParameterdvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramParameterdvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramivNV)) +GL_PREFIX(GetProgramivNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramivNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramStringNV)) +GL_PREFIX(GetProgramStringNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramStringNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetTrackMatrixivNV)) +GL_PREFIX(GetTrackMatrixivNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_GetTrackMatrixivNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetVertexAttribdvNV)) +GL_PREFIX(GetVertexAttribdvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_GetVertexAttribdvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetVertexAttribfvNV)) +GL_PREFIX(GetVertexAttribfvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_GetVertexAttribfvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetVertexAttribivNV)) +GL_PREFIX(GetVertexAttribivNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_GetVertexAttribivNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetVertexAttribPointervNV)) +GL_PREFIX(GetVertexAttribPointervNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_GetVertexAttribPointervNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(IsProgramNV)) +GL_PREFIX(IsProgramNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_IsProgramNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(LoadProgramNV)) +GL_PREFIX(LoadProgramNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_LoadProgramNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramParameter4fNV)) +GL_PREFIX(ProgramParameter4fNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_ProgramParameter4fNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramParameter4dNV)) +GL_PREFIX(ProgramParameter4dNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_ProgramParameter4dNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramParameter4dvNV)) +GL_PREFIX(ProgramParameter4dvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_ProgramParameter4dvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramParameter4fvNV)) +GL_PREFIX(ProgramParameter4fvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_ProgramParameter4fvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramParameters4dvNV)) +GL_PREFIX(ProgramParameters4dvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_ProgramParameters4dvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramParameters4fvNV)) +GL_PREFIX(ProgramParameters4fvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_ProgramParameters4fvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(TrackMatrixNV)) +GL_PREFIX(TrackMatrixNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_TrackMatrixNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribPointerNV)) +GL_PREFIX(VertexAttribPointerNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribPointerNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1sNV)) +GL_PREFIX(VertexAttrib1sNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1sNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1fNV)) +GL_PREFIX(VertexAttrib1fNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1fNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1dNV)) +GL_PREFIX(VertexAttrib1dNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1dNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2sNV)) +GL_PREFIX(VertexAttrib2sNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2sNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2fNV)) +GL_PREFIX(VertexAttrib2fNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2fNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2dNV)) +GL_PREFIX(VertexAttrib2dNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2dNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3sNV)) +GL_PREFIX(VertexAttrib3sNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3sNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3fNV)) +GL_PREFIX(VertexAttrib3fNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3fNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3dNV)) +GL_PREFIX(VertexAttrib3dNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3dNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4sNV)) +GL_PREFIX(VertexAttrib4sNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4sNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4fNV)) +GL_PREFIX(VertexAttrib4fNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4fNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4dNV)) +GL_PREFIX(VertexAttrib4dNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4dNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4ubNV)) +GL_PREFIX(VertexAttrib4ubNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4ubNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1svNV)) +GL_PREFIX(VertexAttrib1svNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1svNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1fvNV)) +GL_PREFIX(VertexAttrib1fvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1fvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1dvNV)) +GL_PREFIX(VertexAttrib1dvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1dvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2svNV)) +GL_PREFIX(VertexAttrib2svNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2svNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2fvNV)) +GL_PREFIX(VertexAttrib2fvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2fvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2dvNV)) +GL_PREFIX(VertexAttrib2dvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2dvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3svNV)) +GL_PREFIX(VertexAttrib3svNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3svNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3fvNV)) +GL_PREFIX(VertexAttrib3fvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3fvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3dvNV)) +GL_PREFIX(VertexAttrib3dvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3dvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4svNV)) +GL_PREFIX(VertexAttrib4svNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4svNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4fvNV)) +GL_PREFIX(VertexAttrib4fvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4fvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4dvNV)) +GL_PREFIX(VertexAttrib4dvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4dvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4ubvNV)) +GL_PREFIX(VertexAttrib4ubvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4ubvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs1svNV)) +GL_PREFIX(VertexAttribs1svNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs1svNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs1fvNV)) +GL_PREFIX(VertexAttribs1fvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs1fvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs1dvNV)) +GL_PREFIX(VertexAttribs1dvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs1dvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs2svNV)) +GL_PREFIX(VertexAttribs2svNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs2svNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs2fvNV)) +GL_PREFIX(VertexAttribs2fvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs2fvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs2dvNV)) +GL_PREFIX(VertexAttribs2dvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs2dvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs3svNV)) +GL_PREFIX(VertexAttribs3svNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs3svNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs3fvNV)) +GL_PREFIX(VertexAttribs3fvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs3fvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs3dvNV)) +GL_PREFIX(VertexAttribs3dvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs3dvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs4svNV)) +GL_PREFIX(VertexAttribs4svNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs4svNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs4fvNV)) +GL_PREFIX(VertexAttribs4fvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs4fvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs4dvNV)) +GL_PREFIX(VertexAttribs4dvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs4dvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribs4ubvNV)) +GL_PREFIX(VertexAttribs4ubvNV): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribs4ubvNV)) + #endif /* __WIN32__ */ -- cgit v1.2.3