diff options
Diffstat (limited to 'src/mesa/x86/glapi_x86.S')
-rw-r--r-- | src/mesa/x86/glapi_x86.S | 278 |
1 files changed, 278 insertions, 0 deletions
diff --git a/src/mesa/x86/glapi_x86.S b/src/mesa/x86/glapi_x86.S index 4d6382070a9..25d10124f29 100644 --- a/src/mesa/x86/glapi_x86.S +++ b/src/mesa/x86/glapi_x86.S @@ -3739,5 +3739,283 @@ GL_PREFIX(SamplePatternEXT): MOV_L(GLNAME(_glapi_Dispatch), EAX) JMP(GL_OFFSET(_gloffset_SamplePatternSGIS)) +/* XXX these were added by hand because we need a new gl.spec file */ + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ActiveTexture)) +GL_PREFIX(ActiveTexture): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_ActiveTextureARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ClientActiveTexture)) +GL_PREFIX(ClientActiveTexture): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_ClientActiveTextureARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(CompressedTexImage1D)) +GL_PREFIX(CompressedTexImage1D): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_CompressedTexImage1DARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(CompressedTexImage2D)) +GL_PREFIX(CompressedTexImage2D): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_CompressedTexImage2DARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(CompressedTexImage3D)) +GL_PREFIX(CompressedTexImage3D): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_CompressedTexImage3DARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(CompressedTexSubImage1D)) +GL_PREFIX(CompressedTexSubImage1D): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_CompressedTexSubImage1DARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(CompressedTexSubImage2D)) +GL_PREFIX(CompressedTexSubImage2D): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_CompressedTexSubImage2DARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(CompressedTexSubImage3D)) +GL_PREFIX(CompressedTexSubImage3D): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_CompressedTexSubImage3DARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetCompressedTexImage)) +GL_PREFIX(GetCompressedTexImage): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_GetCompressedTexImageARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord1d)) +GL_PREFIX(MultiTexCoord1d): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord1dARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord1dv)) +GL_PREFIX(MultiTexCoord1dv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord1dvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord1f)) +GL_PREFIX(MultiTexCoord1f): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord1fARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord1fv)) +GL_PREFIX(MultiTexCoord1fv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord1fvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord1i)) +GL_PREFIX(MultiTexCoord1i): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord1iARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord1iv)) +GL_PREFIX(MultiTexCoord1iv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord1ivARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord1s)) +GL_PREFIX(MultiTexCoord1s): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord1sARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord1sv)) +GL_PREFIX(MultiTexCoord1sv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord1svARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord2d)) +GL_PREFIX(MultiTexCoord2d): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord2dARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord2dv)) +GL_PREFIX(MultiTexCoord2dv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord2dvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord2f)) +GL_PREFIX(MultiTexCoord2f): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord2fARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord2fv)) +GL_PREFIX(MultiTexCoord2fv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord2fvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord2i)) +GL_PREFIX(MultiTexCoord2i): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord2iARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord2iv)) +GL_PREFIX(MultiTexCoord2iv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord2ivARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord2s)) +GL_PREFIX(MultiTexCoord2s): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord2sARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord2sv)) +GL_PREFIX(MultiTexCoord2sv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord2svARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord3d)) +GL_PREFIX(MultiTexCoord3d): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord3dARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord3dv)) +GL_PREFIX(MultiTexCoord3dv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord3dvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord3f)) +GL_PREFIX(MultiTexCoord3f): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord3fARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord3fv)) +GL_PREFIX(MultiTexCoord3fv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord3fvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord3i)) +GL_PREFIX(MultiTexCoord3i): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord3iARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord3iv)) +GL_PREFIX(MultiTexCoord3iv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord3ivARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord3s)) +GL_PREFIX(MultiTexCoord3s): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord3sARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord3sv)) +GL_PREFIX(MultiTexCoord3sv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord3svARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord4d)) +GL_PREFIX(MultiTexCoord4d): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord4dARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord4dv)) +GL_PREFIX(MultiTexCoord4dv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord4dvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord4f)) +GL_PREFIX(MultiTexCoord4f): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord4fARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord4fv)) +GL_PREFIX(MultiTexCoord4fv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord4fvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord4i)) +GL_PREFIX(MultiTexCoord4i): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord4iARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord4iv)) +GL_PREFIX(MultiTexCoord4iv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord4ivARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord4s)) +GL_PREFIX(MultiTexCoord4s): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord4sARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultiTexCoord4sv)) +GL_PREFIX(MultiTexCoord4sv): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultiTexCoord4svARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(LoadTransposeMatrixd)) +GL_PREFIX(LoadTransposeMatrixd): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_LoadTransposeMatrixdARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(LoadTransposeMatrixf)) +GL_PREFIX(LoadTransposeMatrixf): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_LoadTransposeMatrixfARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultTransposeMatrixd)) +GL_PREFIX(MultTransposeMatrixd): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultTransposeMatrixdARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MultTransposeMatrixf)) +GL_PREFIX(MultTransposeMatrixf): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_MultTransposeMatrixfARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SampleCoverage)) +GL_PREFIX(SampleCoverage): + MOV_L(GLNAME(_glapi_Dispatch), EAX) + JMP(GL_OFFSET(_gloffset_SampleCoverageARB)) + #endif /* __WIN32__ */ |