aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapioffsets.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-11-27 20:07:08 +0000
committerBrian Paul <[email protected]>2004-11-27 20:07:08 +0000
commitb5b8d22c4ee921dff99b898a5907023b20670a27 (patch)
treef86cfa06e3fbe8c3d73fc665e79294c0257d53ff /src/mesa/glapi/glapioffsets.h
parent0699b0bb171ffba453222154c4b2c047a30a2a8b (diff)
Change the dispatch offsets for the VertexAttrib*NV functions so they don't
alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct.
Diffstat (limited to 'src/mesa/glapi/glapioffsets.h')
-rw-r--r--src/mesa/glapi/glapioffsets.h87
1 files changed, 58 insertions, 29 deletions
diff --git a/src/mesa/glapi/glapioffsets.h b/src/mesa/glapi/glapioffsets.h
index 03f7409aef1..f80c14cd609 100644
--- a/src/mesa/glapi/glapioffsets.h
+++ b/src/mesa/glapi/glapioffsets.h
@@ -617,9 +617,9 @@
#define _gloffset_GetProgramivNV 585
#define _gloffset_GetProgramStringNV 586
#define _gloffset_GetTrackMatrixivNV 587
-#define _gloffset_GetVertexAttribdvNV 588
-#define _gloffset_GetVertexAttribfvNV 589
-#define _gloffset_GetVertexAttribivNV 590
+#define _gloffset_GetVertexAttribdvARB 588
+#define _gloffset_GetVertexAttribfvARB 589
+#define _gloffset_GetVertexAttribivARB 590
#define _gloffset_GetVertexAttribPointervNV 591
#define _gloffset_IsProgramNV 592
#define _gloffset_LoadProgramNV 593
@@ -632,32 +632,32 @@
#define _gloffset_RequestResidentProgramsNV 600
#define _gloffset_TrackMatrixNV 601
#define _gloffset_VertexAttribPointerNV 602
-#define _gloffset_VertexAttrib1dNV 603
-#define _gloffset_VertexAttrib1dvNV 604
-#define _gloffset_VertexAttrib1fNV 605
-#define _gloffset_VertexAttrib1fvNV 606
-#define _gloffset_VertexAttrib1sNV 607
-#define _gloffset_VertexAttrib1svNV 608
-#define _gloffset_VertexAttrib2dNV 609
-#define _gloffset_VertexAttrib2dvNV 610
-#define _gloffset_VertexAttrib2fNV 611
-#define _gloffset_VertexAttrib2fvNV 612
-#define _gloffset_VertexAttrib2sNV 613
-#define _gloffset_VertexAttrib2svNV 614
-#define _gloffset_VertexAttrib3dNV 615
-#define _gloffset_VertexAttrib3dvNV 616
-#define _gloffset_VertexAttrib3fNV 617
-#define _gloffset_VertexAttrib3fvNV 618
-#define _gloffset_VertexAttrib3sNV 619
-#define _gloffset_VertexAttrib3svNV 620
-#define _gloffset_VertexAttrib4dNV 621
-#define _gloffset_VertexAttrib4dvNV 622
-#define _gloffset_VertexAttrib4fNV 623
-#define _gloffset_VertexAttrib4fvNV 624
-#define _gloffset_VertexAttrib4sNV 625
-#define _gloffset_VertexAttrib4svNV 626
-#define _gloffset_VertexAttrib4ubNV 627
-#define _gloffset_VertexAttrib4ubvNV 628
+#define _gloffset_VertexAttrib1dARB 603
+#define _gloffset_VertexAttrib1dvARB 604
+#define _gloffset_VertexAttrib1fARB 605
+#define _gloffset_VertexAttrib1fvARB 606
+#define _gloffset_VertexAttrib1sARB 607
+#define _gloffset_VertexAttrib1svARB 608
+#define _gloffset_VertexAttrib2dARB 609
+#define _gloffset_VertexAttrib2dvARB 610
+#define _gloffset_VertexAttrib2fARB 611
+#define _gloffset_VertexAttrib2fvARB 612
+#define _gloffset_VertexAttrib2sARB 613
+#define _gloffset_VertexAttrib2svARB 614
+#define _gloffset_VertexAttrib3dARB 615
+#define _gloffset_VertexAttrib3dvARB 616
+#define _gloffset_VertexAttrib3fARB 617
+#define _gloffset_VertexAttrib3fvARB 618
+#define _gloffset_VertexAttrib3sARB 619
+#define _gloffset_VertexAttrib3svARB 620
+#define _gloffset_VertexAttrib4dARB 621
+#define _gloffset_VertexAttrib4dvARB 622
+#define _gloffset_VertexAttrib4fARB 623
+#define _gloffset_VertexAttrib4fvARB 624
+#define _gloffset_VertexAttrib4sARB 625
+#define _gloffset_VertexAttrib4svARB 626
+#define _gloffset_VertexAttrib4NubARB 627
+#define _gloffset_VertexAttrib4NubvARB 628
#define _gloffset_VertexAttribs1dvNV 629
#define _gloffset_VertexAttribs1fvNV 630
#define _gloffset_VertexAttribs1svNV 631
@@ -782,5 +782,34 @@
#define _gloffset_BindAttribLocationARB 750
#define _gloffset_GetActiveAttribARB 751
#define _gloffset_GetAttribLocationARB 752
+#define _gloffset_GetVertexAttribdvNV 753
+#define _gloffset_GetVertexAttribfvNV 754
+#define _gloffset_GetVertexAttribivNV 755
+#define _gloffset_VertexAttrib1dNV 756
+#define _gloffset_VertexAttrib1dvNV 757
+#define _gloffset_VertexAttrib1fNV 758
+#define _gloffset_VertexAttrib1fvNV 759
+#define _gloffset_VertexAttrib1sNV 760
+#define _gloffset_VertexAttrib1svNV 761
+#define _gloffset_VertexAttrib2dNV 762
+#define _gloffset_VertexAttrib2dvNV 763
+#define _gloffset_VertexAttrib2fNV 764
+#define _gloffset_VertexAttrib2fvNV 765
+#define _gloffset_VertexAttrib2sNV 766
+#define _gloffset_VertexAttrib2svNV 767
+#define _gloffset_VertexAttrib3dNV 768
+#define _gloffset_VertexAttrib3dvNV 769
+#define _gloffset_VertexAttrib3fNV 770
+#define _gloffset_VertexAttrib3fvNV 771
+#define _gloffset_VertexAttrib3sNV 772
+#define _gloffset_VertexAttrib3svNV 773
+#define _gloffset_VertexAttrib4dNV 774
+#define _gloffset_VertexAttrib4dvNV 775
+#define _gloffset_VertexAttrib4fNV 776
+#define _gloffset_VertexAttrib4fvNV 777
+#define _gloffset_VertexAttrib4sNV 778
+#define _gloffset_VertexAttrib4svNV 779
+#define _gloffset_VertexAttrib4ubNV 780
+#define _gloffset_VertexAttrib4ubvNV 781
#endif