From c6d030a5972c5b1b2902df76a125febe10d8586b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 29 Mar 2003 16:36:59 +0000 Subject: GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_NV_fragment_program entrypoints --- src/mesa/glapi/glapioffsets.h | 79 ++ src/mesa/glapi/glapitable.h | 79 ++ src/mesa/glapi/glapitemp.h | 474 ++++++++++++ src/mesa/main/glprocs.h | 79 ++ src/mesa/sparc/glapi_sparc.S | 1659 +++++++++++++++++++++++++++++++++++++++++ src/mesa/x86/glapi_x86.S | 474 ++++++++++++ 6 files changed, 2844 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/glapi/glapioffsets.h b/src/mesa/glapi/glapioffsets.h index 4223395f3d2..0974e7b5564 100644 --- a/src/mesa/glapi/glapioffsets.h +++ b/src/mesa/glapi/glapioffsets.h @@ -656,5 +656,84 @@ #define _gloffset_GetFenceivNV 651 #define _gloffset_FinishFenceNV 652 #define _gloffset_SetFenceNV 653 +#define _gloffset_VertexAttrib1sARB 654 +#define _gloffset_VertexAttrib1fARB 655 +#define _gloffset_VertexAttrib1dARB 656 +#define _gloffset_VertexAttrib2sARB 657 +#define _gloffset_VertexAttrib2fARB 658 +#define _gloffset_VertexAttrib2dARB 659 +#define _gloffset_VertexAttrib3sARB 660 +#define _gloffset_VertexAttrib3fARB 661 +#define _gloffset_VertexAttrib3dARB 662 +#define _gloffset_VertexAttrib4sARB 663 +#define _gloffset_VertexAttrib4fARB 664 +#define _gloffset_VertexAttrib4dARB 665 +#define _gloffset_VertexAttrib4NubARB 666 +#define _gloffset_VertexAttrib1svARB 667 +#define _gloffset_VertexAttrib1fvARB 668 +#define _gloffset_VertexAttrib1dvARB 669 +#define _gloffset_VertexAttrib2svARB 670 +#define _gloffset_VertexAttrib2fvARB 671 +#define _gloffset_VertexAttrib2dvARB 672 +#define _gloffset_VertexAttrib3svARB 673 +#define _gloffset_VertexAttrib3fvARB 674 +#define _gloffset_VertexAttrib3dvARB 675 +#define _gloffset_VertexAttrib4bvARB 676 +#define _gloffset_VertexAttrib4svARB 677 +#define _gloffset_VertexAttrib4ivARB 678 +#define _gloffset_VertexAttrib4ubvARB 679 +#define _gloffset_VertexAttrib4usvARB 680 +#define _gloffset_VertexAttrib4uivARB 681 +#define _gloffset_VertexAttrib4fvARB 682 +#define _gloffset_VertexAttrib4dvARB 683 +#define _gloffset_VertexAttrib4NbvARB 684 +#define _gloffset_VertexAttrib4NsvARB 685 +#define _gloffset_VertexAttrib4NivARB 686 +#define _gloffset_VertexAttrib4NubvARB 687 +#define _gloffset_VertexAttrib4NusvARB 688 +#define _gloffset_VertexAttrib4NuivARB 689 +#define _gloffset_VertexAttribPointerARB 690 +#define _gloffset_EnableVertexAttribArrayARB 691 +#define _gloffset_DisableVertexAttribArrayARB 692 +#define _gloffset_ProgramStringARB 693 +#define _gloffset_BindProgramARB 694 +#define _gloffset_DeleteProgramsARB 695 +#define _gloffset_GenProgramsARB 696 +#define _gloffset_ProgramEnvParameter4dARB 697 +#define _gloffset_ProgramEnvParameter4dvARB 698 +#define _gloffset_ProgramEnvParameter4fARB 699 +#define _gloffset_ProgramEnvParameter4fvARB 700 +#define _gloffset_ProgramLocalParameter4dARB 701 +#define _gloffset_ProgramLocalParameter4dvARB 702 +#define _gloffset_ProgramLocalParameter4fARB 703 +#define _gloffset_ProgramLocalParameter4fvARB 704 +#define _gloffset_GetProgramEnvParameterdvARB 705 +#define _gloffset_GetProgramEnvParameterfvARB 706 +#define _gloffset_GetProgramLocalParameterdvARB 707 +#define _gloffset_GetProgramLocalParameterfvARB 708 +#define _gloffset_GetProgramivARB 709 +#define _gloffset_GetProgramStringARB 710 +#define _gloffset_GetVertexAttribdvARB 711 +#define _gloffset_GetVertexAttribfvARB 712 +#define _gloffset_GetVertexAttribivARB 713 +#define _gloffset_GetVertexAttribPointervARB 714 +#define _gloffset_IsProgramARB 715 +#define _gloffset_ProgramNamedParameter4fNV 716 +#define _gloffset_ProgramNamedParameter4dNV 717 +#define _gloffset_ProgramNamedParameter4fvNV 718 +#define _gloffset_ProgramNamedParameter4dvNV 719 +#define _gloffset_GetProgramNamedParameterfvNV 720 +#define _gloffset_GetProgramNamedParameterdvNV 721 +#define _gloffset_BindBufferARB 722 +#define _gloffset_DeleteBuffersARB 723 +#define _gloffset_GenBuffersARB 724 +#define _gloffset_IsBufferARB 725 +#define _gloffset_BufferDataARB 726 +#define _gloffset_BufferSubDataARB 727 +#define _gloffset_GetBufferSubDataARB 728 +#define _gloffset_MapBufferARB 729 +#define _gloffset_UnmapBufferARB 730 +#define _gloffset_GetBufferParameterivARB 731 +#define _gloffset_GetBufferPointervARB 732 #endif diff --git a/src/mesa/glapi/glapitable.h b/src/mesa/glapi/glapitable.h index f75ee10ca9d..53de09685f8 100644 --- a/src/mesa/glapi/glapitable.h +++ b/src/mesa/glapi/glapitable.h @@ -660,6 +660,85 @@ struct _glapi_table void (*GetFenceivNV)(GLuint fence, GLenum pname, GLint * params); /* 651 */ void (*FinishFenceNV)(GLuint fence); /* 652 */ void (*SetFenceNV)(GLuint fence, GLenum condition); /* 653 */ + void (*VertexAttrib1sARB)(GLuint index, GLshort x); /* 654 */ + void (*VertexAttrib1fARB)(GLuint index, GLfloat x); /* 655 */ + void (*VertexAttrib1dARB)(GLuint index, GLdouble x); /* 656 */ + void (*VertexAttrib2sARB)(GLuint index, GLshort x, GLshort y); /* 657 */ + void (*VertexAttrib2fARB)(GLuint index, GLfloat x, GLfloat y); /* 658 */ + void (*VertexAttrib2dARB)(GLuint index, GLdouble x, GLdouble y); /* 659 */ + void (*VertexAttrib3sARB)(GLuint index, GLshort x, GLshort y, GLshort z); /* 660 */ + void (*VertexAttrib3fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z); /* 661 */ + void (*VertexAttrib3dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z); /* 662 */ + void (*VertexAttrib4sARB)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); /* 663 */ + void (*VertexAttrib4fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 664 */ + void (*VertexAttrib4dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 665 */ + void (*VertexAttrib4NubARB)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); /* 666 */ + void (*VertexAttrib1svARB)(GLuint index, const GLshort * v); /* 667 */ + void (*VertexAttrib1fvARB)(GLuint index, const GLfloat * v); /* 668 */ + void (*VertexAttrib1dvARB)(GLuint index, const GLdouble * v); /* 669 */ + void (*VertexAttrib2svARB)(GLuint index, const GLshort * v); /* 670 */ + void (*VertexAttrib2fvARB)(GLuint index, const GLfloat * v); /* 671 */ + void (*VertexAttrib2dvARB)(GLuint index, const GLdouble * v); /* 672 */ + void (*VertexAttrib3svARB)(GLuint index, const GLshort * v); /* 673 */ + void (*VertexAttrib3fvARB)(GLuint index, const GLfloat * v); /* 674 */ + void (*VertexAttrib3dvARB)(GLuint index, const GLdouble * v); /* 675 */ + void (*VertexAttrib4bvARB)(GLuint index, const GLbyte * v); /* 676 */ + void (*VertexAttrib4svARB)(GLuint index, const GLshort * v); /* 677 */ + void (*VertexAttrib4ivARB)(GLuint index, const GLint * v); /* 678 */ + void (*VertexAttrib4ubvARB)(GLuint index, const GLubyte * v); /* 679 */ + void (*VertexAttrib4usvARB)(GLuint index, const GLushort * v); /* 680 */ + void (*VertexAttrib4uivARB)(GLuint index, const GLuint * v); /* 681 */ + void (*VertexAttrib4fvARB)(GLuint index, const GLfloat * v); /* 682 */ + void (*VertexAttrib4dvARB)(GLuint index, const GLdouble * v); /* 683 */ + void (*VertexAttrib4NbvARB)(GLuint index, const GLbyte * v); /* 684 */ + void (*VertexAttrib4NsvARB)(GLuint index, const GLshort * v); /* 685 */ + void (*VertexAttrib4NivARB)(GLuint index, const GLint * v); /* 686 */ + void (*VertexAttrib4NubvARB)(GLuint index, const GLubyte * v); /* 687 */ + void (*VertexAttrib4NusvARB)(GLuint index, const GLushort * v); /* 688 */ + void (*VertexAttrib4NuivARB)(GLuint index, const GLuint * v); /* 689 */ + void (*VertexAttribPointerARB)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer); /* 690 */ + void (*EnableVertexAttribArrayARB)(GLuint index); /* 691 */ + void (*DisableVertexAttribArrayARB)(GLuint index); /* 692 */ + void (*ProgramStringARB)(GLenum target, GLenum format, GLsizei len, const GLvoid * string); /* 693 */ + void (*BindProgramARB)(GLenum target, GLuint program); /* 694 */ + void (*DeleteProgramsARB)(GLsizei n, const GLuint * programs); /* 695 */ + void (*GenProgramsARB)(GLsizei n, GLuint * programs); /* 696 */ + void (*ProgramEnvParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 697 */ + void (*ProgramEnvParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); /* 698 */ + void (*ProgramEnvParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 699 */ + void (*ProgramEnvParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); /* 700 */ + void (*ProgramLocalParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 701 */ + void (*ProgramLocalParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); /* 702 */ + void (*ProgramLocalParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 703 */ + void (*ProgramLocalParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); /* 704 */ + void (*GetProgramEnvParameterdvARB)(GLenum target, GLuint index, GLdouble * params); /* 705 */ + void (*GetProgramEnvParameterfvARB)(GLenum target, GLuint index, GLfloat * params); /* 706 */ + void (*GetProgramLocalParameterdvARB)(GLenum target, GLuint index, GLdouble * params); /* 707 */ + void (*GetProgramLocalParameterfvARB)(GLenum target, GLuint index, GLfloat * params); /* 708 */ + void (*GetProgramivARB)(GLenum target, GLenum pname, GLint * params); /* 709 */ + void (*GetProgramStringARB)(GLenum target, GLenum pname, GLvoid * string); /* 710 */ + void (*GetVertexAttribdvARB)(GLuint index, GLenum pname, GLdouble * params); /* 711 */ + void (*GetVertexAttribfvARB)(GLuint index, GLenum pname, GLfloat * params); /* 712 */ + void (*GetVertexAttribivARB)(GLuint index, GLenum pname, GLint * params); /* 713 */ + void (*GetVertexAttribPointervARB)(GLuint index, GLenum pname, GLvoid ** params); /* 714 */ + GLboolean (*IsProgramARB)(GLuint program); /* 715 */ + void (*ProgramNamedParameter4fNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 716 */ + void (*ProgramNamedParameter4dNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 717 */ + void (*ProgramNamedParameter4fvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); /* 718 */ + void (*ProgramNamedParameter4dvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); /* 719 */ + void (*GetProgramNamedParameterfvNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); /* 720 */ + void (*GetProgramNamedParameterdvNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); /* 721 */ + void (*BindBufferARB)(GLenum target, GLuint buffer); /* 722 */ + void (*DeleteBuffersARB)(GLsizei n, const GLuint * buffer); /* 723 */ + void (*GenBuffersARB)(GLsizei n, GLuint * buffer); /* 724 */ + GLboolean (*IsBufferARB)(GLuint buffer); /* 725 */ + void (*BufferDataARB)(GLenum target, GLsizeiptrARB size, const GLvoid * data, GLenum usage); /* 726 */ + void (*BufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid * data); /* 727 */ + void (*GetBufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, void * data); /* 728 */ + void (*MapBufferARB)(GLenum target, GLenum access); /* 729 */ + GLboolean (*UnmapBufferARB)(GLenum target); /* 730 */ + void (*GetBufferParameterivARB)(GLenum target, GLenum pname, GLint * params); /* 731 */ + void (*GetBufferPointervARB)(GLenum target, GLenum pname, GLvoid ** params); /* 732 */ }; #endif diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index d5111c1755f..8841eda95bf 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -4224,6 +4224,401 @@ KEYWORD1 void KEYWORD2 NAME(ActiveStencilFaceEXT)(GLenum face) DISPATCH(ActiveStencilFaceEXT, (face), (F, "glActiveStencilFaceEXT(0x%x);\n", face)); } +KEYWORD1 void KEYWORD2 NAME(VertexAttrib1sARB)(GLuint index, GLshort x) +{ + DISPATCH(VertexAttrib1sARB, (index, x), (F, "glVertexAttrib1sARB(%d, %d);\n", index, x)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib1fARB)(GLuint index, GLfloat x) +{ + DISPATCH(VertexAttrib1fARB, (index, x), (F, "glVertexAttrib1fARB(%d, %f);\n", index, x)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib1dARB)(GLuint index, GLdouble x) +{ + DISPATCH(VertexAttrib1dARB, (index, x), (F, "glVertexAttrib1dARB(%d, %f);\n", index, x)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib2sARB)(GLuint index, GLshort x, GLshort y) +{ + DISPATCH(VertexAttrib2sARB, (index, x, y), (F, "glVertexAttrib2sARB(%d, %d, %d);\n", index, x, y)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib2fARB)(GLuint index, GLfloat x, GLfloat y) +{ + DISPATCH(VertexAttrib2fARB, (index, x, y), (F, "glVertexAttrib2fARB(%d, %f, %f);\n", index, x, y)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib2dARB)(GLuint index, GLdouble x, GLdouble y) +{ + DISPATCH(VertexAttrib2dARB, (index, x, y), (F, "glVertexAttrib2dARB(%d, %f, %f);\n", index, x, y)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib3sARB)(GLuint index, GLshort x, GLshort y, GLshort z) +{ + DISPATCH(VertexAttrib3sARB, (index, x, y, z), (F, "glVertexAttrib3sARB(%d, %d, %d, %d);\n", index, x, y, z)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib3fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z) +{ + DISPATCH(VertexAttrib3fARB, (index, x, y, z), (F, "glVertexAttrib3fARB(%d, %f, %f, %f);\n", index, x, y, z)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib3dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z) +{ + DISPATCH(VertexAttrib3dARB, (index, x, y, z), (F, "glVertexAttrib3dARB(%d, %f, %f, %f);\n", index, x, y, z)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4sARB)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) +{ + DISPATCH(VertexAttrib4sARB, (index, x, y, z, w), (F, "glVertexAttrib4sARB(%d, %d, %d, %d, %d);\n", index, x, y, z, w)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + DISPATCH(VertexAttrib4fARB, (index, x, y, z, w), (F, "glVertexAttrib4fARB(%d, %f, %f, %f, %f);\n", index, x, y, z, w)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) +{ + DISPATCH(VertexAttrib4dARB, (index, x, y, z, w), (F, "glVertexAttrib4dARB(%d, %f, %f, %f, %f);\n", index, x, y, z, w)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4NubARB)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) +{ + DISPATCH(VertexAttrib4NubARB, (index, x, y, z, w), (F, "glVertexAttrib4NubARB(%d, %d, %d, %d, %d);\n", index, x, y, z, w)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib1svARB)(GLuint index, const GLshort * v) +{ + DISPATCH(VertexAttrib1svARB, (index, v), (F, "glVertexAttrib1svARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib1fvARB)(GLuint index, const GLfloat * v) +{ + DISPATCH(VertexAttrib1fvARB, (index, v), (F, "glVertexAttrib1fvARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib1dvARB)(GLuint index, const GLdouble * v) +{ + DISPATCH(VertexAttrib1dvARB, (index, v), (F, "glVertexAttrib1dvARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib2svARB)(GLuint index, const GLshort * v) +{ + DISPATCH(VertexAttrib2svARB, (index, v), (F, "glVertexAttrib2svARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib2fvARB)(GLuint index, const GLfloat * v) +{ + DISPATCH(VertexAttrib2fvARB, (index, v), (F, "glVertexAttrib2fvARB(%d, %p /* %g, %g */);\n", index, (const void *) v, v[0], v[1])); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib2dvARB)(GLuint index, const GLdouble * v) +{ + DISPATCH(VertexAttrib2dvARB, (index, v), (F, "glVertexAttrib2dvARB(%d, %p /* %g, %g */);\n", index, (const void *) v, v[0], v[1])); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib3svARB)(GLuint index, const GLshort * v) +{ + DISPATCH(VertexAttrib3svARB, (index, v), (F, "glVertexAttrib3svARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib3fvARB)(GLuint index, const GLfloat * v) +{ + DISPATCH(VertexAttrib3fvARB, (index, v), (F, "glVertexAttrib3fvARB(%d, %p /* %g, %g, %g */);\n", index, (const void *) v, v[0], v[1], v[2])); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib3dvARB)(GLuint index, const GLdouble * v) +{ + DISPATCH(VertexAttrib3dvARB, (index, v), (F, "glVertexAttrib3dvARB(%d, %p /* %g, %g, %g */);\n", index, (const void *) v, v[0], v[1], v[2])); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4bvARB)(GLuint index, const GLbyte * v) +{ + DISPATCH(VertexAttrib4bvARB, (index, v), (F, "glVertexAttrib4bvARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4svARB)(GLuint index, const GLshort * v) +{ + DISPATCH(VertexAttrib4svARB, (index, v), (F, "glVertexAttrib4svARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4ivARB)(GLuint index, const GLint * v) +{ + DISPATCH(VertexAttrib4ivARB, (index, v), (F, "glVertexAttrib4ivARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4ubvARB)(GLuint index, const GLubyte * v) +{ + DISPATCH(VertexAttrib4ubvARB, (index, v), (F, "glVertexAttrib4ubvARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4usvARB)(GLuint index, const GLushort * v) +{ + DISPATCH(VertexAttrib4usvARB, (index, v), (F, "glVertexAttrib4usvARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4uivARB)(GLuint index, const GLuint * v) +{ + DISPATCH(VertexAttrib4uivARB, (index, v), (F, "glVertexAttrib4uivARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4fvARB)(GLuint index, const GLfloat * v) +{ + DISPATCH(VertexAttrib4fvARB, (index, v), (F, "glVertexAttrib4fvARB(%d, %p /* %g, %g, %g, %g */);\n", index, (const void *) v, v[0], v[1], v[2], v[3])); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4dvARB)(GLuint index, const GLdouble * v) +{ + DISPATCH(VertexAttrib4dvARB, (index, v), (F, "glVertexAttrib4dvARB(%d, %p /* %g, %g, %g, %g */);\n", index, (const void *) v, v[0], v[1], v[2], v[3])); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4NbvARB)(GLuint index, const GLbyte * v) +{ + DISPATCH(VertexAttrib4NbvARB, (index, v), (F, "glVertexAttrib4NbvARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4NsvARB)(GLuint index, const GLshort * v) +{ + DISPATCH(VertexAttrib4NsvARB, (index, v), (F, "glVertexAttrib4NsvARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4NivARB)(GLuint index, const GLint * v) +{ + DISPATCH(VertexAttrib4NivARB, (index, v), (F, "glVertexAttrib4NivARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4NubvARB)(GLuint index, const GLubyte * v) +{ + DISPATCH(VertexAttrib4NubvARB, (index, v), (F, "glVertexAttrib4NubvARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4NusvARB)(GLuint index, const GLushort * v) +{ + DISPATCH(VertexAttrib4NusvARB, (index, v), (F, "glVertexAttrib4NusvARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttrib4NuivARB)(GLuint index, const GLuint * v) +{ + DISPATCH(VertexAttrib4NuivARB, (index, v), (F, "glVertexAttrib4NuivARB(%d, %p);\n", index, (const void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(VertexAttribPointerARB)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer) +{ + DISPATCH(VertexAttribPointerARB, (index, size, type, normalized, stride, pointer), (F, "glVertexAttribPointerARB(%d, %d, 0x%x, %d, %d, %p);\n", index, size, type, normalized, stride, (const void *) pointer)); +} + +KEYWORD1 void KEYWORD2 NAME(EnableVertexAttribArrayARB)(GLuint index) +{ + DISPATCH(EnableVertexAttribArrayARB, (index), (F, "glEnableVertexAttribArrayARB(%d);\n", index)); +} + +KEYWORD1 void KEYWORD2 NAME(DisableVertexAttribArrayARB)(GLuint index) +{ + DISPATCH(DisableVertexAttribArrayARB, (index), (F, "glDisableVertexAttribArrayARB(%d);\n", index)); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramStringARB)(GLenum target, GLenum format, GLsizei len, const GLvoid * string) +{ + DISPATCH(ProgramStringARB, (target, format, len, string), (F, "glProgramStringARB(0x%x, 0x%x, %d, %p);\n", target, format, len, (const void *) string)); +} + +KEYWORD1 void KEYWORD2 NAME(BindProgramARB)(GLenum target, GLuint program) +{ + DISPATCH(BindProgramARB, (target, program), (F, "glBindProgramARB(0x%x, %d);\n", target, program)); +} + +KEYWORD1 void KEYWORD2 NAME(DeleteProgramsARB)(GLsizei n, const GLuint * programs) +{ + DISPATCH(DeleteProgramsARB, (n, programs), (F, "glDeleteProgramsARB(%d, %p);\n", n, (const void *) programs)); +} + +KEYWORD1 void KEYWORD2 NAME(GenProgramsARB)(GLsizei n, GLuint * programs) +{ + DISPATCH(GenProgramsARB, (n, programs), (F, "glGenProgramsARB(%d, %p);\n", n, (const void *) programs)); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramEnvParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) +{ + DISPATCH(ProgramEnvParameter4dARB, (target, index, x, y, z, w), (F, "glProgramEnvParameter4dARB(0x%x, %d, %f, %f, %f, %f);\n", target, index, x, y, z, w)); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramEnvParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params) +{ + DISPATCH(ProgramEnvParameter4dvARB, (target, index, params), (F, "glProgramEnvParameter4dvARB(0x%x, %d, %p /* %g, %g, %g, %g */);\n", target, index, (const void *) params, params[0], params[1], params[2], params[3])); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramEnvParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + DISPATCH(ProgramEnvParameter4fARB, (target, index, x, y, z, w), (F, "glProgramEnvParameter4fARB(0x%x, %d, %f, %f, %f, %f);\n", target, index, x, y, z, w)); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramEnvParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params) +{ + DISPATCH(ProgramEnvParameter4fvARB, (target, index, params), (F, "glProgramEnvParameter4fvARB(0x%x, %d, %p /* %g, %g, %g, %g */);\n", target, index, (const void *) params, params[0], params[1], params[2], params[3])); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramLocalParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) +{ + DISPATCH(ProgramLocalParameter4dARB, (target, index, x, y, z, w), (F, "glProgramLocalParameter4dARB(0x%x, %d, %f, %f, %f, %f);\n", target, index, x, y, z, w)); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramLocalParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params) +{ + DISPATCH(ProgramLocalParameter4dvARB, (target, index, params), (F, "glProgramLocalParameter4dvARB(0x%x, %d, %p /* %g, %g, %g, %g */);\n", target, index, (const void *) params, params[0], params[1], params[2], params[3])); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramLocalParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + DISPATCH(ProgramLocalParameter4fARB, (target, index, x, y, z, w), (F, "glProgramLocalParameter4fARB(0x%x, %d, %f, %f, %f, %f);\n", target, index, x, y, z, w)); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramLocalParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params) +{ + DISPATCH(ProgramLocalParameter4fvARB, (target, index, params), (F, "glProgramLocalParameter4fvARB(0x%x, %d, %p /* %g, %g, %g, %g */);\n", target, index, (const void *) params, params[0], params[1], params[2], params[3])); +} + +KEYWORD1 void KEYWORD2 NAME(GetProgramEnvParameterdvARB)(GLenum target, GLuint index, GLdouble * params) +{ + DISPATCH(GetProgramEnvParameterdvARB, (target, index, params), (F, "glGetProgramEnvParameterdvARB(0x%x, %d, %p);\n", target, index, (const void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(GetProgramEnvParameterfvARB)(GLenum target, GLuint index, GLfloat * params) +{ + DISPATCH(GetProgramEnvParameterfvARB, (target, index, params), (F, "glGetProgramEnvParameterfvARB(0x%x, %d, %p);\n", target, index, (const void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(GetProgramLocalParameterdvARB)(GLenum target, GLuint index, GLdouble * params) +{ + DISPATCH(GetProgramLocalParameterdvARB, (target, index, params), (F, "glGetProgramLocalParameterdvARB(0x%x, %d, %p);\n", target, index, (const void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(GetProgramLocalParameterfvARB)(GLenum target, GLuint index, GLfloat * params) +{ + DISPATCH(GetProgramLocalParameterfvARB, (target, index, params), (F, "glGetProgramLocalParameterfvARB(0x%x, %d, %p);\n", target, index, (const void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(GetProgramivARB)(GLenum target, GLenum pname, GLint * params) +{ + DISPATCH(GetProgramivARB, (target, pname, params), (F, "glGetProgramivARB(0x%x, 0x%x, %p);\n", target, pname, (const void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(GetProgramStringARB)(GLenum target, GLenum pname, GLvoid * string) +{ + DISPATCH(GetProgramStringARB, (target, pname, string), (F, "glGetProgramStringARB(0x%x, 0x%x, %p);\n", target, pname, (const void *) string)); +} + +KEYWORD1 void KEYWORD2 NAME(GetVertexAttribdvARB)(GLuint index, GLenum pname, GLdouble * params) +{ + DISPATCH(GetVertexAttribdvARB, (index, pname, params), (F, "glGetVertexAttribdvARB(%d, 0x%x, %p);\n", index, pname, (const void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(GetVertexAttribfvARB)(GLuint index, GLenum pname, GLfloat * params) +{ + DISPATCH(GetVertexAttribfvARB, (index, pname, params), (F, "glGetVertexAttribfvARB(%d, 0x%x, %p);\n", index, pname, (const void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(GetVertexAttribivARB)(GLuint index, GLenum pname, GLint * params) +{ + DISPATCH(GetVertexAttribivARB, (index, pname, params), (F, "glGetVertexAttribivARB(%d, 0x%x, %p);\n", index, pname, (const void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(GetVertexAttribPointervARB)(GLuint index, GLenum pname, GLvoid ** params) +{ + DISPATCH(GetVertexAttribPointervARB, (index, pname, params), (F, "glGetVertexAttribPointervARB(%d, 0x%x, %p);\n", index, pname, (const void *) params)); +} + +KEYWORD1 GLboolean KEYWORD2 NAME(IsProgramARB)(GLuint program) +{ + RETURN_DISPATCH(IsProgramARB, (program), (F, "glIsProgramARB(%d);\n", program)); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramNamedParameter4fNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +{ + DISPATCH(ProgramNamedParameter4fNV, (id, len, name, x, y, z, w), (F, "glProgramNamedParameter4fNV(%d, %d, %p, %f, %f, %f, %f);\n", id, len, (const void *) name, x, y, z, w)); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramNamedParameter4dNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) +{ + DISPATCH(ProgramNamedParameter4dNV, (id, len, name, x, y, z, w), (F, "glProgramNamedParameter4dNV(%d, %d, %p, %f, %f, %f, %f);\n", id, len, (const void *) name, x, y, z, w)); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramNamedParameter4fvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v) +{ + DISPATCH(ProgramNamedParameter4fvNV, (id, len, name, v), (F, "glProgramNamedParameter4fvNV(%d, %d, %p, %p /* %g, %g, %g, %g */);\n", id, len, (const void *) name, (const void *) v, v[0], v[1], v[2], v[3])); +} + +KEYWORD1 void KEYWORD2 NAME(ProgramNamedParameter4dvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v) +{ + DISPATCH(ProgramNamedParameter4dvNV, (id, len, name, v), (F, "glProgramNamedParameter4dvNV(%d, %d, %p, %p /* %g, %g, %g, %g */);\n", id, len, (const void *) name, (const void *) v, v[0], v[1], v[2], v[3])); +} + +KEYWORD1 void KEYWORD2 NAME(GetProgramNamedParameterfvNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params) +{ + DISPATCH(GetProgramNamedParameterfvNV, (id, len, name, params), (F, "glGetProgramNamedParameterfvNV(%d, %d, %p, %p);\n", id, len, (const void *) name, (const void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(GetProgramNamedParameterdvNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params) +{ + DISPATCH(GetProgramNamedParameterdvNV, (id, len, name, params), (F, "glGetProgramNamedParameterdvNV(%d, %d, %p, %p);\n", id, len, (const void *) name, (const void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(BindBufferARB)(GLenum target, GLuint buffer) +{ + DISPATCH(BindBufferARB, (target, buffer), (F, "glBindBufferARB(0x%x, %d);\n", target, buffer)); +} + +KEYWORD1 void KEYWORD2 NAME(DeleteBuffersARB)(GLsizei n, const GLuint * buffer) +{ + DISPATCH(DeleteBuffersARB, (n, buffer), (F, "glDeleteBuffersARB(%d, %p);\n", n, (const void *) buffer)); +} + +KEYWORD1 void KEYWORD2 NAME(GenBuffersARB)(GLsizei n, GLuint * buffer) +{ + DISPATCH(GenBuffersARB, (n, buffer), (F, "glGenBuffersARB(%d, %p);\n", n, (const void *) buffer)); +} + +KEYWORD1 GLboolean KEYWORD2 NAME(IsBufferARB)(GLuint buffer) +{ + RETURN_DISPATCH(IsBufferARB, (buffer), (F, "glIsBufferARB(%d);\n", buffer)); +} + +KEYWORD1 void KEYWORD2 NAME(BufferDataARB)(GLenum target, GLsizeiptrARB size, const GLvoid * data, GLenum usage) +{ + DISPATCH(BufferDataARB, (target, size, data, usage), (F, "glBufferDataARB(0x%x, %p, %p, 0x%x);\n", target, (const void *) size, (const void *) data, usage)); +} + +KEYWORD1 void KEYWORD2 NAME(BufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid * data) +{ + DISPATCH(BufferSubDataARB, (target, offset, size, data), (F, "glBufferSubDataARB(0x%x, %p, %p, %p);\n", target, (const void *) offset, (const void *) size, (const void *) data)); +} + +KEYWORD1 void KEYWORD2 NAME(GetBufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, void * data) +{ + DISPATCH(GetBufferSubDataARB, (target, offset, size, data), (F, "glGetBufferSubDataARB(0x%x, %p, %p, %p);\n", target, (const void *) offset, (const void *) size, (const void *) data)); +} + +KEYWORD1 void KEYWORD2 NAME(MapBufferARB)(GLenum target, GLenum access) +{ + DISPATCH(MapBufferARB, (target, access), (F, "glMapBufferARB(0x%x, 0x%x);\n", target, access)); +} + +KEYWORD1 GLboolean KEYWORD2 NAME(UnmapBufferARB)(GLenum target) +{ + RETURN_DISPATCH(UnmapBufferARB, (target), (F, "glUnmapBufferARB(0x%x);\n", target)); +} + +KEYWORD1 void KEYWORD2 NAME(GetBufferParameterivARB)(GLenum target, GLenum pname, GLint * params) +{ + DISPATCH(GetBufferParameterivARB, (target, pname, params), (F, "glGetBufferParameterivARB(0x%x, 0x%x, %p);\n", target, pname, (const void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(GetBufferPointervARB)(GLenum target, GLenum pname, GLvoid ** params) +{ + DISPATCH(GetBufferPointervARB, (target, pname, params), (F, "glGetBufferPointervARB(0x%x, 0x%x, %p);\n", target, pname, (const void *) params)); +} + /* @@ -4891,6 +5286,85 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(GetFenceivNV), TABLE_ENTRY(FinishFenceNV), TABLE_ENTRY(SetFenceNV), + TABLE_ENTRY(VertexAttrib1sARB), + TABLE_ENTRY(VertexAttrib1fARB), + TABLE_ENTRY(VertexAttrib1dARB), + TABLE_ENTRY(VertexAttrib2sARB), + TABLE_ENTRY(VertexAttrib2fARB), + TABLE_ENTRY(VertexAttrib2dARB), + TABLE_ENTRY(VertexAttrib3sARB), + TABLE_ENTRY(VertexAttrib3fARB), + TABLE_ENTRY(VertexAttrib3dARB), + TABLE_ENTRY(VertexAttrib4sARB), + TABLE_ENTRY(VertexAttrib4fARB), + TABLE_ENTRY(VertexAttrib4dARB), + TABLE_ENTRY(VertexAttrib4NubARB), + TABLE_ENTRY(VertexAttrib1svARB), + TABLE_ENTRY(VertexAttrib1fvARB), + TABLE_ENTRY(VertexAttrib1dvARB), + TABLE_ENTRY(VertexAttrib2svARB), + TABLE_ENTRY(VertexAttrib2fvARB), + TABLE_ENTRY(VertexAttrib2dvARB), + TABLE_ENTRY(VertexAttrib3svARB), + TABLE_ENTRY(VertexAttrib3fvARB), + TABLE_ENTRY(VertexAttrib3dvARB), + TABLE_ENTRY(VertexAttrib4bvARB), + TABLE_ENTRY(VertexAttrib4svARB), + TABLE_ENTRY(VertexAttrib4ivARB), + TABLE_ENTRY(VertexAttrib4ubvARB), + TABLE_ENTRY(VertexAttrib4usvARB), + TABLE_ENTRY(VertexAttrib4uivARB), + TABLE_ENTRY(VertexAttrib4fvARB), + TABLE_ENTRY(VertexAttrib4dvARB), + TABLE_ENTRY(VertexAttrib4NbvARB), + TABLE_ENTRY(VertexAttrib4NsvARB), + TABLE_ENTRY(VertexAttrib4NivARB), + TABLE_ENTRY(VertexAttrib4NubvARB), + TABLE_ENTRY(VertexAttrib4NusvARB), + TABLE_ENTRY(VertexAttrib4NuivARB), + TABLE_ENTRY(VertexAttribPointerARB), + TABLE_ENTRY(EnableVertexAttribArrayARB), + TABLE_ENTRY(DisableVertexAttribArrayARB), + TABLE_ENTRY(ProgramStringARB), + TABLE_ENTRY(BindProgramARB), + TABLE_ENTRY(DeleteProgramsARB), + TABLE_ENTRY(GenProgramsARB), + TABLE_ENTRY(ProgramEnvParameter4dARB), + TABLE_ENTRY(ProgramEnvParameter4dvARB), + TABLE_ENTRY(ProgramEnvParameter4fARB), + TABLE_ENTRY(ProgramEnvParameter4fvARB), + TABLE_ENTRY(ProgramLocalParameter4dARB), + TABLE_ENTRY(ProgramLocalParameter4dvARB), + TABLE_ENTRY(ProgramLocalParameter4fARB), + TABLE_ENTRY(ProgramLocalParameter4fvARB), + TABLE_ENTRY(GetProgramEnvParameterdvARB), + TABLE_ENTRY(GetProgramEnvParameterfvARB), + TABLE_ENTRY(GetProgramLocalParameterdvARB), + TABLE_ENTRY(GetProgramLocalParameterfvARB), + TABLE_ENTRY(GetProgramivARB), + TABLE_ENTRY(GetProgramStringARB), + TABLE_ENTRY(GetVertexAttribdvARB), + TABLE_ENTRY(GetVertexAttribfvARB), + TABLE_ENTRY(GetVertexAttribivARB), + TABLE_ENTRY(GetVertexAttribPointervARB), + TABLE_ENTRY(IsProgramARB), + TABLE_ENTRY(ProgramNamedParameter4fNV), + TABLE_ENTRY(ProgramNamedParameter4dNV), + TABLE_ENTRY(ProgramNamedParameter4fvNV), + TABLE_ENTRY(ProgramNamedParameter4dvNV), + TABLE_ENTRY(GetProgramNamedParameterfvNV), + TABLE_ENTRY(GetProgramNamedParameterdvNV), + TABLE_ENTRY(BindBufferARB), + TABLE_ENTRY(DeleteBuffersARB), + TABLE_ENTRY(GenBuffersARB), + TABLE_ENTRY(IsBufferARB), + TABLE_ENTRY(BufferDataARB), + TABLE_ENTRY(BufferSubDataARB), + TABLE_ENTRY(GetBufferSubDataARB), + TABLE_ENTRY(MapBufferARB), + TABLE_ENTRY(UnmapBufferARB), + TABLE_ENTRY(GetBufferParameterivARB), + TABLE_ENTRY(GetBufferPointervARB), /* A whole bunch of no-op functions. These might be called * when someone tries to call a dynamically-registered * extension function without a current rendering context. diff --git a/src/mesa/main/glprocs.h b/src/mesa/main/glprocs.h index af7aea669c5..fcce96c4ecf 100644 --- a/src/mesa/main/glprocs.h +++ b/src/mesa/main/glprocs.h @@ -810,5 +810,84 @@ static struct name_address_offset static_functions[] = { { "glWindowPos3s", (GLvoid *) glWindowPos3s, _gloffset_WindowPos3sMESA }, { "glWindowPos3sv", (GLvoid *) glWindowPos3sv, _gloffset_WindowPos3svMESA }, { "glActiveStencilFaceEXT", (GLvoid *) glActiveStencilFaceEXT, _gloffset_ActiveStencilFaceEXT }, + { "glVertexAttrib1sARB", (GLvoid *) glVertexAttrib1sARB, _gloffset_VertexAttrib1sARB }, + { "glVertexAttrib1fARB", (GLvoid *) glVertexAttrib1fARB, _gloffset_VertexAttrib1fARB }, + { "glVertexAttrib1dARB", (GLvoid *) glVertexAttrib1dARB, _gloffset_VertexAttrib1dARB }, + { "glVertexAttrib2sARB", (GLvoid *) glVertexAttrib2sARB, _gloffset_VertexAttrib2sARB }, + { "glVertexAttrib2fARB", (GLvoid *) glVertexAttrib2fARB, _gloffset_VertexAttrib2fARB }, + { "glVertexAttrib2dARB", (GLvoid *) glVertexAttrib2dARB, _gloffset_VertexAttrib2dARB }, + { "glVertexAttrib3sARB", (GLvoid *) glVertexAttrib3sARB, _gloffset_VertexAttrib3sARB }, + { "glVertexAttrib3fARB", (GLvoid *) glVertexAttrib3fARB, _gloffset_VertexAttrib3fARB }, + { "glVertexAttrib3dARB", (GLvoid *) glVertexAttrib3dARB, _gloffset_VertexAttrib3dARB }, + { "glVertexAttrib4sARB", (GLvoid *) glVertexAttrib4sARB, _gloffset_VertexAttrib4sARB }, + { "glVertexAttrib4fARB", (GLvoid *) glVertexAttrib4fARB, _gloffset_VertexAttrib4fARB }, + { "glVertexAttrib4dARB", (GLvoid *) glVertexAttrib4dARB, _gloffset_VertexAttrib4dARB }, + { "glVertexAttrib4NubARB", (GLvoid *) glVertexAttrib4NubARB, _gloffset_VertexAttrib4NubARB }, + { "glVertexAttrib1svARB", (GLvoid *) glVertexAttrib1svARB, _gloffset_VertexAttrib1svARB }, + { "glVertexAttrib1fvARB", (GLvoid *) glVertexAttrib1fvARB, _gloffset_VertexAttrib1fvARB }, + { "glVertexAttrib1dvARB", (GLvoid *) glVertexAttrib1dvARB, _gloffset_VertexAttrib1dvARB }, + { "glVertexAttrib2svARB", (GLvoid *) glVertexAttrib2svARB, _gloffset_VertexAttrib2svARB }, + { "glVertexAttrib2fvARB", (GLvoid *) glVertexAttrib2fvARB, _gloffset_VertexAttrib2fvARB }, + { "glVertexAttrib2dvARB", (GLvoid *) glVertexAttrib2dvARB, _gloffset_VertexAttrib2dvARB }, + { "glVertexAttrib3svARB", (GLvoid *) glVertexAttrib3svARB, _gloffset_VertexAttrib3svARB }, + { "glVertexAttrib3fvARB", (GLvoid *) glVertexAttrib3fvARB, _gloffset_VertexAttrib3fvARB }, + { "glVertexAttrib3dvARB", (GLvoid *) glVertexAttrib3dvARB, _gloffset_VertexAttrib3dvARB }, + { "glVertexAttrib4bvARB", (GLvoid *) glVertexAttrib4bvARB, _gloffset_VertexAttrib4bvARB }, + { "glVertexAttrib4svARB", (GLvoid *) glVertexAttrib4svARB, _gloffset_VertexAttrib4svARB }, + { "glVertexAttrib4ivARB", (GLvoid *) glVertexAttrib4ivARB, _gloffset_VertexAttrib4ivARB }, + { "glVertexAttrib4ubvARB", (GLvoid *) glVertexAttrib4ubvARB, _gloffset_VertexAttrib4ubvARB }, + { "glVertexAttrib4usvARB", (GLvoid *) glVertexAttrib4usvARB, _gloffset_VertexAttrib4usvARB }, + { "glVertexAttrib4uivARB", (GLvoid *) glVertexAttrib4uivARB, _gloffset_VertexAttrib4uivARB }, + { "glVertexAttrib4fvARB", (GLvoid *) glVertexAttrib4fvARB, _gloffset_VertexAttrib4fvARB }, + { "glVertexAttrib4dvARB", (GLvoid *) glVertexAttrib4dvARB, _gloffset_VertexAttrib4dvARB }, + { "glVertexAttrib4NbvARB", (GLvoid *) glVertexAttrib4NbvARB, _gloffset_VertexAttrib4NbvARB }, + { "glVertexAttrib4NsvARB", (GLvoid *) glVertexAttrib4NsvARB, _gloffset_VertexAttrib4NsvARB }, + { "glVertexAttrib4NivARB", (GLvoid *) glVertexAttrib4NivARB, _gloffset_VertexAttrib4NivARB }, + { "glVertexAttrib4NubvARB", (GLvoid *) glVertexAttrib4NubvARB, _gloffset_VertexAttrib4NubvARB }, + { "glVertexAttrib4NusvARB", (GLvoid *) glVertexAttrib4NusvARB, _gloffset_VertexAttrib4NusvARB }, + { "glVertexAttrib4NuivARB", (GLvoid *) glVertexAttrib4NuivARB, _gloffset_VertexAttrib4NuivARB }, + { "glVertexAttribPointerARB", (GLvoid *) glVertexAttribPointerARB, _gloffset_VertexAttribPointerARB }, + { "glEnableVertexAttribArrayARB", (GLvoid *) glEnableVertexAttribArrayARB, _gloffset_EnableVertexAttribArrayARB }, + { "glDisableVertexAttribArrayARB", (GLvoid *) glDisableVertexAttribArrayARB, _gloffset_DisableVertexAttribArrayARB }, + { "glProgramStringARB", (GLvoid *) glProgramStringARB, _gloffset_ProgramStringARB }, + { "glBindProgramARB", (GLvoid *) glBindProgramARB, _gloffset_BindProgramARB }, + { "glDeleteProgramsARB", (GLvoid *) glDeleteProgramsARB, _gloffset_DeleteProgramsARB }, + { "glGenProgramsARB", (GLvoid *) glGenProgramsARB, _gloffset_GenProgramsARB }, + { "glProgramEnvParameter4dARB", (GLvoid *) glProgramEnvParameter4dARB, _gloffset_ProgramEnvParameter4dARB }, + { "glProgramEnvParameter4dvARB", (GLvoid *) glProgramEnvParameter4dvARB, _gloffset_ProgramEnvParameter4dvARB }, + { "glProgramEnvParameter4fARB", (GLvoid *) glProgramEnvParameter4fARB, _gloffset_ProgramEnvParameter4fARB }, + { "glProgramEnvParameter4fvARB", (GLvoid *) glProgramEnvParameter4fvARB, _gloffset_ProgramEnvParameter4fvARB }, + { "glProgramLocalParameter4dARB", (GLvoid *) glProgramLocalParameter4dARB, _gloffset_ProgramLocalParameter4dARB }, + { "glProgramLocalParameter4dvARB", (GLvoid *) glProgramLocalParameter4dvARB, _gloffset_ProgramLocalParameter4dvARB }, + { "glProgramLocalParameter4fARB", (GLvoid *) glProgramLocalParameter4fARB, _gloffset_ProgramLocalParameter4fARB }, + { "glProgramLocalParameter4fvARB", (GLvoid *) glProgramLocalParameter4fvARB, _gloffset_ProgramLocalParameter4fvARB }, + { "glGetProgramEnvParameterdvARB", (GLvoid *) glGetProgramEnvParameterdvARB, _gloffset_GetProgramEnvParameterdvARB }, + { "glGetProgramEnvParameterfvARB", (GLvoid *) glGetProgramEnvParameterfvARB, _gloffset_GetProgramEnvParameterfvARB }, + { "glGetProgramLocalParameterdvARB", (GLvoid *) glGetProgramLocalParameterdvARB, _gloffset_GetProgramLocalParameterdvARB }, + { "glGetProgramLocalParameterfvARB", (GLvoid *) glGetProgramLocalParameterfvARB, _gloffset_GetProgramLocalParameterfvARB }, + { "glGetProgramivARB", (GLvoid *) glGetProgramivARB, _gloffset_GetProgramivARB }, + { "glGetProgramStringARB", (GLvoid *) glGetProgramStringARB, _gloffset_GetProgramStringARB }, + { "glGetVertexAttribdvARB", (GLvoid *) glGetVertexAttribdvARB, _gloffset_GetVertexAttribdvARB }, + { "glGetVertexAttribfvARB", (GLvoid *) glGetVertexAttribfvARB, _gloffset_GetVertexAttribfvARB }, + { "glGetVertexAttribivARB", (GLvoid *) glGetVertexAttribivARB, _gloffset_GetVertexAttribivARB }, + { "glGetVertexAttribPointervARB", (GLvoid *) glGetVertexAttribPointervARB, _gloffset_GetVertexAttribPointervARB }, + { "glIsProgramARB", (GLvoid *) glIsProgramARB, _gloffset_IsProgramARB }, + { "glProgramNamedParameter4fNV", (GLvoid *) glProgramNamedParameter4fNV, _gloffset_ProgramNamedParameter4fNV }, + { "glProgramNamedParameter4dNV", (GLvoid *) glProgramNamedParameter4dNV, _gloffset_ProgramNamedParameter4dNV }, + { "glProgramNamedParameter4fvNV", (GLvoid *) glProgramNamedParameter4fvNV, _gloffset_ProgramNamedParameter4fvNV }, + { "glProgramNamedParameter4dvNV", (GLvoid *) glProgramNamedParameter4dvNV, _gloffset_ProgramNamedParameter4dvNV }, + { "glGetProgramNamedParameterfvNV", (GLvoid *) glGetProgramNamedParameterfvNV, _gloffset_GetProgramNamedParameterfvNV }, + { "glGetProgramNamedParameterdvNV", (GLvoid *) glGetProgramNamedParameterdvNV, _gloffset_GetProgramNamedParameterdvNV }, + { "glBindBufferARB", (GLvoid *) glBindBufferARB, _gloffset_BindBufferARB }, + { "glDeleteBuffersARB", (GLvoid *) glDeleteBuffersARB, _gloffset_DeleteBuffersARB }, + { "glGenBuffersARB", (GLvoid *) glGenBuffersARB, _gloffset_GenBuffersARB }, + { "glIsBufferARB", (GLvoid *) glIsBufferARB, _gloffset_IsBufferARB }, + { "glBufferDataARB", (GLvoid *) glBufferDataARB, _gloffset_BufferDataARB }, + { "glBufferSubDataARB", (GLvoid *) glBufferSubDataARB, _gloffset_BufferSubDataARB }, + { "glGetBufferSubDataARB", (GLvoid *) glGetBufferSubDataARB, _gloffset_GetBufferSubDataARB }, + { "glMapBufferARB", (GLvoid *) glMapBufferARB, _gloffset_MapBufferARB }, + { "glUnmapBufferARB", (GLvoid *) glUnmapBufferARB, _gloffset_UnmapBufferARB }, + { "glGetBufferParameterivARB", (GLvoid *) glGetBufferParameterivARB, _gloffset_GetBufferParameterivARB }, + { "glGetBufferPointervARB", (GLvoid *) glGetBufferPointervARB, _gloffset_GetBufferPointervARB }, { NULL, NULL } /* end of list marker */ }; diff --git a/src/mesa/sparc/glapi_sparc.S b/src/mesa/sparc/glapi_sparc.S index 7381700879c..c1e53ab5894 100644 --- a/src/mesa/sparc/glapi_sparc.S +++ b/src/mesa/sparc/glapi_sparc.S @@ -16943,6 +16943,1665 @@ glActiveStencilFaceEXT: sethi %hi(0x00000000), %g1 ld [%g1 + %lo(0x00000000)], %g1 ld [%g1 + (4 * _gloffset_ActiveStencilFaceEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib1sARB +.type glVertexAttrib1sARB,#function +glVertexAttrib1sARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib1sARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib1sARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib1sARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib1fARB +.type glVertexAttrib1fARB,#function +glVertexAttrib1fARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib1fARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib1fARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib1fARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib1dARB +.type glVertexAttrib1dARB,#function +glVertexAttrib1dARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib1dARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib1dARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib1dARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib2sARB +.type glVertexAttrib2sARB,#function +glVertexAttrib2sARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib2sARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib2sARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib2sARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib2fARB +.type glVertexAttrib2fARB,#function +glVertexAttrib2fARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib2fARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib2fARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib2fARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib2dARB +.type glVertexAttrib2dARB,#function +glVertexAttrib2dARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib2dARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib2dARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib2dARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib3sARB +.type glVertexAttrib3sARB,#function +glVertexAttrib3sARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib3sARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib3sARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib3sARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib3fARB +.type glVertexAttrib3fARB,#function +glVertexAttrib3fARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib3fARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib3fARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib3fARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib3dARB +.type glVertexAttrib3dARB,#function +glVertexAttrib3dARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib3dARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib3dARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib3dARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4sARB +.type glVertexAttrib4sARB,#function +glVertexAttrib4sARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4sARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4sARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4sARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4fARB +.type glVertexAttrib4fARB,#function +glVertexAttrib4fARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4fARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4fARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4fARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4dARB +.type glVertexAttrib4dARB,#function +glVertexAttrib4dARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4dARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4dARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4dARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4NubARB +.type glVertexAttrib4NubARB,#function +glVertexAttrib4NubARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4NubARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4NubARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4NubARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib1svARB +.type glVertexAttrib1svARB,#function +glVertexAttrib1svARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib1svARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib1svARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib1svARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib1fvARB +.type glVertexAttrib1fvARB,#function +glVertexAttrib1fvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib1fvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib1fvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib1fvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib1dvARB +.type glVertexAttrib1dvARB,#function +glVertexAttrib1dvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib1dvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib1dvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib1dvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib2svARB +.type glVertexAttrib2svARB,#function +glVertexAttrib2svARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib2svARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib2svARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib2svARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib2fvARB +.type glVertexAttrib2fvARB,#function +glVertexAttrib2fvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib2fvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib2fvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib2fvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib2dvARB +.type glVertexAttrib2dvARB,#function +glVertexAttrib2dvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib2dvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib2dvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib2dvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib3svARB +.type glVertexAttrib3svARB,#function +glVertexAttrib3svARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib3svARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib3svARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib3svARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib3fvARB +.type glVertexAttrib3fvARB,#function +glVertexAttrib3fvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib3fvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib3fvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib3fvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib3dvARB +.type glVertexAttrib3dvARB,#function +glVertexAttrib3dvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib3dvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib3dvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib3dvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4bvARB +.type glVertexAttrib4bvARB,#function +glVertexAttrib4bvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4bvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4bvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4bvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4svARB +.type glVertexAttrib4svARB,#function +glVertexAttrib4svARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4svARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4svARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4svARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4ivARB +.type glVertexAttrib4ivARB,#function +glVertexAttrib4ivARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4ivARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4ivARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4ivARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4ubvARB +.type glVertexAttrib4ubvARB,#function +glVertexAttrib4ubvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4ubvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4ubvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4ubvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4usvARB +.type glVertexAttrib4usvARB,#function +glVertexAttrib4usvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4usvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4usvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4usvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4uivARB +.type glVertexAttrib4uivARB,#function +glVertexAttrib4uivARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4uivARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4uivARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4uivARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4fvARB +.type glVertexAttrib4fvARB,#function +glVertexAttrib4fvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4fvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4fvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4fvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4dvARB +.type glVertexAttrib4dvARB,#function +glVertexAttrib4dvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4dvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4dvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4dvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4NbvARB +.type glVertexAttrib4NbvARB,#function +glVertexAttrib4NbvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4NbvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4NbvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4NbvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4NsvARB +.type glVertexAttrib4NsvARB,#function +glVertexAttrib4NsvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4NsvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4NsvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4NsvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4NivARB +.type glVertexAttrib4NivARB,#function +glVertexAttrib4NivARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4NivARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4NivARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4NivARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4NubvARB +.type glVertexAttrib4NubvARB,#function +glVertexAttrib4NubvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4NubvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4NubvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4NubvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4NusvARB +.type glVertexAttrib4NusvARB,#function +glVertexAttrib4NusvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4NusvARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4NusvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4NusvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttrib4NuivARB +.type glVertexAttrib4NuivARB,#function +glVertexAttrib4NuivARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttrib4NuivARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttrib4NuivARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttrib4NuivARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glVertexAttribPointerARB +.type glVertexAttribPointerARB,#function +glVertexAttribPointerARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_VertexAttribPointerARB), %g2 + or %g2, %lo(8 * _gloffset_VertexAttribPointerARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_VertexAttribPointerARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glEnableVertexAttribArrayARB +.type glEnableVertexAttribArrayARB,#function +glEnableVertexAttribArrayARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_EnableVertexAttribArrayARB), %g2 + or %g2, %lo(8 * _gloffset_EnableVertexAttribArrayARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_EnableVertexAttribArrayARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glDisableVertexAttribArrayARB +.type glDisableVertexAttribArrayARB,#function +glDisableVertexAttribArrayARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_DisableVertexAttribArrayARB), %g2 + or %g2, %lo(8 * _gloffset_DisableVertexAttribArrayARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_DisableVertexAttribArrayARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramStringARB +.type glProgramStringARB,#function +glProgramStringARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramStringARB), %g2 + or %g2, %lo(8 * _gloffset_ProgramStringARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramStringARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glBindProgramARB +.type glBindProgramARB,#function +glBindProgramARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_BindProgramARB), %g2 + or %g2, %lo(8 * _gloffset_BindProgramARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_BindProgramARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glDeleteProgramsARB +.type glDeleteProgramsARB,#function +glDeleteProgramsARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_DeleteProgramsARB), %g2 + or %g2, %lo(8 * _gloffset_DeleteProgramsARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_DeleteProgramsARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGenProgramsARB +.type glGenProgramsARB,#function +glGenProgramsARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GenProgramsARB), %g2 + or %g2, %lo(8 * _gloffset_GenProgramsARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GenProgramsARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramEnvParameter4dARB +.type glProgramEnvParameter4dARB,#function +glProgramEnvParameter4dARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramEnvParameter4dARB), %g2 + or %g2, %lo(8 * _gloffset_ProgramEnvParameter4dARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramEnvParameter4dARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramEnvParameter4dvARB +.type glProgramEnvParameter4dvARB,#function +glProgramEnvParameter4dvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramEnvParameter4dvARB), %g2 + or %g2, %lo(8 * _gloffset_ProgramEnvParameter4dvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramEnvParameter4dvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramEnvParameter4fARB +.type glProgramEnvParameter4fARB,#function +glProgramEnvParameter4fARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramEnvParameter4fARB), %g2 + or %g2, %lo(8 * _gloffset_ProgramEnvParameter4fARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramEnvParameter4fARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramEnvParameter4fvARB +.type glProgramEnvParameter4fvARB,#function +glProgramEnvParameter4fvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramEnvParameter4fvARB), %g2 + or %g2, %lo(8 * _gloffset_ProgramEnvParameter4fvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramEnvParameter4fvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramLocalParameter4dARB +.type glProgramLocalParameter4dARB,#function +glProgramLocalParameter4dARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramLocalParameter4dARB), %g2 + or %g2, %lo(8 * _gloffset_ProgramLocalParameter4dARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramLocalParameter4dARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramLocalParameter4dvARB +.type glProgramLocalParameter4dvARB,#function +glProgramLocalParameter4dvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramLocalParameter4dvARB), %g2 + or %g2, %lo(8 * _gloffset_ProgramLocalParameter4dvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramLocalParameter4dvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramLocalParameter4fARB +.type glProgramLocalParameter4fARB,#function +glProgramLocalParameter4fARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramLocalParameter4fARB), %g2 + or %g2, %lo(8 * _gloffset_ProgramLocalParameter4fARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramLocalParameter4fARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramLocalParameter4fvARB +.type glProgramLocalParameter4fvARB,#function +glProgramLocalParameter4fvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramLocalParameter4fvARB), %g2 + or %g2, %lo(8 * _gloffset_ProgramLocalParameter4fvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramLocalParameter4fvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetProgramEnvParameterdvARB +.type glGetProgramEnvParameterdvARB,#function +glGetProgramEnvParameterdvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetProgramEnvParameterdvARB), %g2 + or %g2, %lo(8 * _gloffset_GetProgramEnvParameterdvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetProgramEnvParameterdvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetProgramEnvParameterfvARB +.type glGetProgramEnvParameterfvARB,#function +glGetProgramEnvParameterfvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetProgramEnvParameterfvARB), %g2 + or %g2, %lo(8 * _gloffset_GetProgramEnvParameterfvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetProgramEnvParameterfvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetProgramLocalParameterdvARB +.type glGetProgramLocalParameterdvARB,#function +glGetProgramLocalParameterdvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetProgramLocalParameterdvARB), %g2 + or %g2, %lo(8 * _gloffset_GetProgramLocalParameterdvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetProgramLocalParameterdvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetProgramLocalParameterfvARB +.type glGetProgramLocalParameterfvARB,#function +glGetProgramLocalParameterfvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetProgramLocalParameterfvARB), %g2 + or %g2, %lo(8 * _gloffset_GetProgramLocalParameterfvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetProgramLocalParameterfvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetProgramivARB +.type glGetProgramivARB,#function +glGetProgramivARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetProgramivARB), %g2 + or %g2, %lo(8 * _gloffset_GetProgramivARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetProgramivARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetProgramStringARB +.type glGetProgramStringARB,#function +glGetProgramStringARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetProgramStringARB), %g2 + or %g2, %lo(8 * _gloffset_GetProgramStringARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetProgramStringARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetVertexAttribdvARB +.type glGetVertexAttribdvARB,#function +glGetVertexAttribdvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetVertexAttribdvARB), %g2 + or %g2, %lo(8 * _gloffset_GetVertexAttribdvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetVertexAttribdvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetVertexAttribfvARB +.type glGetVertexAttribfvARB,#function +glGetVertexAttribfvARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetVertexAttribfvARB), %g2 + or %g2, %lo(8 * _gloffset_GetVertexAttribfvARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetVertexAttribfvARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetVertexAttribivARB +.type glGetVertexAttribivARB,#function +glGetVertexAttribivARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetVertexAttribivARB), %g2 + or %g2, %lo(8 * _gloffset_GetVertexAttribivARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetVertexAttribivARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetVertexAttribPointervARB +.type glGetVertexAttribPointervARB,#function +glGetVertexAttribPointervARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetVertexAttribPointervARB), %g2 + or %g2, %lo(8 * _gloffset_GetVertexAttribPointervARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetVertexAttribPointervARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glIsProgramARB +.type glIsProgramARB,#function +glIsProgramARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_IsProgramARB), %g2 + or %g2, %lo(8 * _gloffset_IsProgramARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_IsProgramARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramNamedParameter4fNV +.type glProgramNamedParameter4fNV,#function +glProgramNamedParameter4fNV: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramNamedParameter4fNV), %g2 + or %g2, %lo(8 * _gloffset_ProgramNamedParameter4fNV), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramNamedParameter4fNV)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramNamedParameter4dNV +.type glProgramNamedParameter4dNV,#function +glProgramNamedParameter4dNV: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramNamedParameter4dNV), %g2 + or %g2, %lo(8 * _gloffset_ProgramNamedParameter4dNV), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramNamedParameter4dNV)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramNamedParameter4fvNV +.type glProgramNamedParameter4fvNV,#function +glProgramNamedParameter4fvNV: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramNamedParameter4fvNV), %g2 + or %g2, %lo(8 * _gloffset_ProgramNamedParameter4fvNV), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramNamedParameter4fvNV)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glProgramNamedParameter4dvNV +.type glProgramNamedParameter4dvNV,#function +glProgramNamedParameter4dvNV: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_ProgramNamedParameter4dvNV), %g2 + or %g2, %lo(8 * _gloffset_ProgramNamedParameter4dvNV), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_ProgramNamedParameter4dvNV)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetProgramNamedParameterfvNV +.type glGetProgramNamedParameterfvNV,#function +glGetProgramNamedParameterfvNV: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetProgramNamedParameterfvNV), %g2 + or %g2, %lo(8 * _gloffset_GetProgramNamedParameterfvNV), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetProgramNamedParameterfvNV)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetProgramNamedParameterdvNV +.type glGetProgramNamedParameterdvNV,#function +glGetProgramNamedParameterdvNV: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetProgramNamedParameterdvNV), %g2 + or %g2, %lo(8 * _gloffset_GetProgramNamedParameterdvNV), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetProgramNamedParameterdvNV)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glBindBufferARB +.type glBindBufferARB,#function +glBindBufferARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_BindBufferARB), %g2 + or %g2, %lo(8 * _gloffset_BindBufferARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_BindBufferARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glDeleteBuffersARB +.type glDeleteBuffersARB,#function +glDeleteBuffersARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_DeleteBuffersARB), %g2 + or %g2, %lo(8 * _gloffset_DeleteBuffersARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_DeleteBuffersARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGenBuffersARB +.type glGenBuffersARB,#function +glGenBuffersARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GenBuffersARB), %g2 + or %g2, %lo(8 * _gloffset_GenBuffersARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GenBuffersARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glIsBufferARB +.type glIsBufferARB,#function +glIsBufferARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_IsBufferARB), %g2 + or %g2, %lo(8 * _gloffset_IsBufferARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_IsBufferARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glBufferDataARB +.type glBufferDataARB,#function +glBufferDataARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_BufferDataARB), %g2 + or %g2, %lo(8 * _gloffset_BufferDataARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_BufferDataARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glBufferSubDataARB +.type glBufferSubDataARB,#function +glBufferSubDataARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_BufferSubDataARB), %g2 + or %g2, %lo(8 * _gloffset_BufferSubDataARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_BufferSubDataARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetBufferSubDataARB +.type glGetBufferSubDataARB,#function +glGetBufferSubDataARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetBufferSubDataARB), %g2 + or %g2, %lo(8 * _gloffset_GetBufferSubDataARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetBufferSubDataARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glMapBufferARB +.type glMapBufferARB,#function +glMapBufferARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_MapBufferARB), %g2 + or %g2, %lo(8 * _gloffset_MapBufferARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_MapBufferARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glUnmapBufferARB +.type glUnmapBufferARB,#function +glUnmapBufferARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_UnmapBufferARB), %g2 + or %g2, %lo(8 * _gloffset_UnmapBufferARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_UnmapBufferARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetBufferParameterivARB +.type glGetBufferParameterivARB,#function +glGetBufferParameterivARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetBufferParameterivARB), %g2 + or %g2, %lo(8 * _gloffset_GetBufferParameterivARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetBufferParameterivARB)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glGetBufferPointervARB +.type glGetBufferPointervARB,#function +glGetBufferPointervARB: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_GetBufferPointervARB), %g2 + or %g2, %lo(8 * _gloffset_GetBufferPointervARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_GetBufferPointervARB)], %g3 #endif jmpl %g3, %g0 nop diff --git a/src/mesa/x86/glapi_x86.S b/src/mesa/x86/glapi_x86.S index 57dd296c760..eff25b7bbd8 100644 --- a/src/mesa/x86/glapi_x86.S +++ b/src/mesa/x86/glapi_x86.S @@ -4857,5 +4857,479 @@ GL_PREFIX(ActiveStencilFaceEXT): MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) JMP(GL_OFFSET(_gloffset_ActiveStencilFaceEXT)) +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1sARB)) +GL_PREFIX(VertexAttrib1sARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1sARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1fARB)) +GL_PREFIX(VertexAttrib1fARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1fARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1dARB)) +GL_PREFIX(VertexAttrib1dARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1dARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2sARB)) +GL_PREFIX(VertexAttrib2sARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2sARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2fARB)) +GL_PREFIX(VertexAttrib2fARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2fARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2dARB)) +GL_PREFIX(VertexAttrib2dARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2dARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3sARB)) +GL_PREFIX(VertexAttrib3sARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3sARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3fARB)) +GL_PREFIX(VertexAttrib3fARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3fARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3dARB)) +GL_PREFIX(VertexAttrib3dARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3dARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4sARB)) +GL_PREFIX(VertexAttrib4sARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4sARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4fARB)) +GL_PREFIX(VertexAttrib4fARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4fARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4dARB)) +GL_PREFIX(VertexAttrib4dARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4dARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4NubARB)) +GL_PREFIX(VertexAttrib4NubARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4NubARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1svARB)) +GL_PREFIX(VertexAttrib1svARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1svARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1fvARB)) +GL_PREFIX(VertexAttrib1fvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1fvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib1dvARB)) +GL_PREFIX(VertexAttrib1dvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib1dvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2svARB)) +GL_PREFIX(VertexAttrib2svARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2svARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2fvARB)) +GL_PREFIX(VertexAttrib2fvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2fvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib2dvARB)) +GL_PREFIX(VertexAttrib2dvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib2dvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3svARB)) +GL_PREFIX(VertexAttrib3svARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3svARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3fvARB)) +GL_PREFIX(VertexAttrib3fvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3fvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib3dvARB)) +GL_PREFIX(VertexAttrib3dvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib3dvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4bvARB)) +GL_PREFIX(VertexAttrib4bvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4bvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4svARB)) +GL_PREFIX(VertexAttrib4svARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4svARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4ivARB)) +GL_PREFIX(VertexAttrib4ivARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4ivARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4ubvARB)) +GL_PREFIX(VertexAttrib4ubvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4ubvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4usvARB)) +GL_PREFIX(VertexAttrib4usvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4usvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4uivARB)) +GL_PREFIX(VertexAttrib4uivARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4uivARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4fvARB)) +GL_PREFIX(VertexAttrib4fvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4fvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4dvARB)) +GL_PREFIX(VertexAttrib4dvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4dvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4NbvARB)) +GL_PREFIX(VertexAttrib4NbvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4NbvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4NsvARB)) +GL_PREFIX(VertexAttrib4NsvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4NsvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4NivARB)) +GL_PREFIX(VertexAttrib4NivARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4NivARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4NubvARB)) +GL_PREFIX(VertexAttrib4NubvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4NubvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4NusvARB)) +GL_PREFIX(VertexAttrib4NusvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4NusvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttrib4NuivARB)) +GL_PREFIX(VertexAttrib4NuivARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttrib4NuivARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(VertexAttribPointerARB)) +GL_PREFIX(VertexAttribPointerARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_VertexAttribPointerARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(EnableVertexAttribArrayARB)) +GL_PREFIX(EnableVertexAttribArrayARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_EnableVertexAttribArrayARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(DisableVertexAttribArrayARB)) +GL_PREFIX(DisableVertexAttribArrayARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_DisableVertexAttribArrayARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramStringARB)) +GL_PREFIX(ProgramStringARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramStringARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(BindProgramARB)) +GL_PREFIX(BindProgramARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_BindProgramARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(DeleteProgramsARB)) +GL_PREFIX(DeleteProgramsARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_DeleteProgramsARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GenProgramsARB)) +GL_PREFIX(GenProgramsARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GenProgramsARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramEnvParameter4dARB)) +GL_PREFIX(ProgramEnvParameter4dARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramEnvParameter4dARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramEnvParameter4dvARB)) +GL_PREFIX(ProgramEnvParameter4dvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramEnvParameter4dvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramEnvParameter4fARB)) +GL_PREFIX(ProgramEnvParameter4fARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramEnvParameter4fARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramEnvParameter4fvARB)) +GL_PREFIX(ProgramEnvParameter4fvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramEnvParameter4fvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramLocalParameter4dARB)) +GL_PREFIX(ProgramLocalParameter4dARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramLocalParameter4dARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramLocalParameter4dvARB)) +GL_PREFIX(ProgramLocalParameter4dvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramLocalParameter4dvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramLocalParameter4fARB)) +GL_PREFIX(ProgramLocalParameter4fARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramLocalParameter4fARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramLocalParameter4fvARB)) +GL_PREFIX(ProgramLocalParameter4fvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramLocalParameter4fvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramEnvParameterdvARB)) +GL_PREFIX(GetProgramEnvParameterdvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramEnvParameterdvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramEnvParameterfvARB)) +GL_PREFIX(GetProgramEnvParameterfvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramEnvParameterfvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramLocalParameterdvARB)) +GL_PREFIX(GetProgramLocalParameterdvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramLocalParameterdvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramLocalParameterfvARB)) +GL_PREFIX(GetProgramLocalParameterfvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramLocalParameterfvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramivARB)) +GL_PREFIX(GetProgramivARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramivARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramStringARB)) +GL_PREFIX(GetProgramStringARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramStringARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetVertexAttribdvARB)) +GL_PREFIX(GetVertexAttribdvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetVertexAttribdvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetVertexAttribfvARB)) +GL_PREFIX(GetVertexAttribfvARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetVertexAttribfvARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetVertexAttribivARB)) +GL_PREFIX(GetVertexAttribivARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetVertexAttribivARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetVertexAttribPointervARB)) +GL_PREFIX(GetVertexAttribPointervARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetVertexAttribPointervARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(IsProgramARB)) +GL_PREFIX(IsProgramARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_IsProgramARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramNamedParameter4fNV)) +GL_PREFIX(ProgramNamedParameter4fNV): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramNamedParameter4fNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramNamedParameter4dNV)) +GL_PREFIX(ProgramNamedParameter4dNV): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramNamedParameter4dNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramNamedParameter4fvNV)) +GL_PREFIX(ProgramNamedParameter4fvNV): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramNamedParameter4fvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(ProgramNamedParameter4dvNV)) +GL_PREFIX(ProgramNamedParameter4dvNV): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_ProgramNamedParameter4dvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramNamedParameterfvNV)) +GL_PREFIX(GetProgramNamedParameterfvNV): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramNamedParameterfvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetProgramNamedParameterdvNV)) +GL_PREFIX(GetProgramNamedParameterdvNV): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetProgramNamedParameterdvNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(BindBufferARB)) +GL_PREFIX(BindBufferARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_BindBufferARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(DeleteBuffersARB)) +GL_PREFIX(DeleteBuffersARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_DeleteBuffersARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GenBuffersARB)) +GL_PREFIX(GenBuffersARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GenBuffersARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(IsBufferARB)) +GL_PREFIX(IsBufferARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_IsBufferARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(BufferDataARB)) +GL_PREFIX(BufferDataARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_BufferDataARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(BufferSubDataARB)) +GL_PREFIX(BufferSubDataARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_BufferSubDataARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetBufferSubDataARB)) +GL_PREFIX(GetBufferSubDataARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetBufferSubDataARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(MapBufferARB)) +GL_PREFIX(MapBufferARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_MapBufferARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(UnmapBufferARB)) +GL_PREFIX(UnmapBufferARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_UnmapBufferARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetBufferParameterivARB)) +GL_PREFIX(GetBufferParameterivARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetBufferParameterivARB)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(GetBufferPointervARB)) +GL_PREFIX(GetBufferPointervARB): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_GetBufferPointervARB)) + #endif /* __WIN32__ */ -- cgit v1.2.3