aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/sparc/glapi_sparc.S
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-05-29 15:16:01 +0000
committerBrian Paul <[email protected]>2002-05-29 15:16:01 +0000
commit60f1a3c288dd663ff420fada558763d7524e499b (patch)
tree01207f3046504b1fcf7e4e2ab020f14fdd59b3a2 /src/mesa/sparc/glapi_sparc.S
parent1d155c1dd878d59f7cfdb6c4dfd5fc2ac2853573 (diff)
Added GL_NV_point_sprite functions: glPointParameteri[v]NV().
Removed dead ARB_window_pos functions (we alias the MESA_window_pos funcs).
Diffstat (limited to 'src/mesa/sparc/glapi_sparc.S')
-rw-r--r--src/mesa/sparc/glapi_sparc.S42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/mesa/sparc/glapi_sparc.S b/src/mesa/sparc/glapi_sparc.S
index ea964c24321..c9bf45b604a 100644
--- a/src/mesa/sparc/glapi_sparc.S
+++ b/src/mesa/sparc/glapi_sparc.S
@@ -15728,6 +15728,48 @@ glVertexAttribs4ubvNV:
#endif
jmpl %g3, %g0
nop
+
+.globl glPointParameteriNV
+.type glPointParameteriNV,#function
+glPointParameteriNV:
+#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_PointParameteriNV), %g2
+ or %g2, %lo(8 * _gloffset_PointParameteriNV), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_PointParameteriNV)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
+
+.globl glPointParameterivNV
+.type glPointParameterivNV,#function
+glPointParameterivNV:
+#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_PointParameterivNV), %g2
+ or %g2, %lo(8 * _gloffset_PointParameterivNV), %g2
+ ldx [%g1 + %g2], %g3
+#else
+ sethi %hi(0x00000000), %g1
+ ld [%g1 + %lo(0x00000000)], %g1
+ ld [%g1 + (4 * _gloffset_PointParameterivNV)], %g3
+#endif
+ jmpl %g3, %g0
+ nop
nop
.globl _mesa_sparc_glapi_end