diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-09-06 03:30:20 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-09-06 03:30:20 +0000 |
commit | e41c57758d30c59cf5986f50c6f2326815c6ac53 (patch) | |
tree | a63e78f5524b24d32a14631cfff5b201f4881480 /src/mesa/sparc | |
parent | 7d7ec0ea917e6abb5711b7c8dad0b17c8469482f (diff) |
fixed glSampleCoverage typo
Diffstat (limited to 'src/mesa/sparc')
-rw-r--r-- | src/mesa/sparc/glapi_sparc.S | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/mesa/sparc/glapi_sparc.S b/src/mesa/sparc/glapi_sparc.S index 2f7c93607f..ebf17b6e79 100644 --- a/src/mesa/sparc/glapi_sparc.S +++ b/src/mesa/sparc/glapi_sparc.S @@ -9660,6 +9660,27 @@ glMultTransposeMatrixd: jmpl %g3, %g0 nop +.globl glSampleCoverage +.type glSampleCoverage,#function +glSampleCoverage: +#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_SampleCoverageARB), %g2 + or %g2, %lo(8 * _gloffset_SampleCoverageARB), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SampleCoverageARB)], %g3 +#endif + jmpl %g3, %g0 + nop + .globl glCompressedTexImage3D .type glCompressedTexImage3D,#function glCompressedTexImage3D: |