summaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_copy_tmp.h
diff options
context:
space:
mode:
authorGareth Hughes <[email protected]>2001-03-30 14:44:43 +0000
committerGareth Hughes <[email protected]>2001-03-30 14:44:43 +0000
commit5e23af22f708a66695c0e44e599c26f02d8d4dcd (patch)
treec01158b3ff58369e296a395c91c2dd6be0a12071 /src/mesa/math/m_copy_tmp.h
parentafc5699b08b7eb4d29f2872c308800f2ae43d6b0 (diff)
Remove all traces of CULL_MASK_ACTIVE.
Diffstat (limited to 'src/mesa/math/m_copy_tmp.h')
-rw-r--r--src/mesa/math/m_copy_tmp.h50
1 files changed, 23 insertions, 27 deletions
diff --git a/src/mesa/math/m_copy_tmp.h b/src/mesa/math/m_copy_tmp.h
index 019f3276b91..ccde3f3c476 100644
--- a/src/mesa/math/m_copy_tmp.h
+++ b/src/mesa/math/m_copy_tmp.h
@@ -1,4 +1,4 @@
-/* $Id: m_copy_tmp.h,v 1.5 2001/03/12 02:02:36 gareth Exp $ */
+/* $Id: m_copy_tmp.h,v 1.6 2001/03/30 14:44:43 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -30,24 +30,20 @@
#define COPY_FUNC( BITS ) \
-static void TAG2(copy, BITS)( GLvector4f *to, const GLvector4f *f, \
- const GLubyte mask[] ) \
+static void TAG2(copy, BITS)( GLvector4f *to, const GLvector4f *f ) \
{ \
GLfloat (*t)[4] = (GLfloat (*)[4])to->start; \
GLfloat *from = f->start; \
GLuint stride = f->stride; \
GLuint count = f->count; \
GLuint i; \
- (void) mask; \
\
if (BITS) \
STRIDE_LOOP { \
- CULL_CHECK { \
- if (BITS&1) t[i][0] = from[0]; \
- if (BITS&2) t[i][1] = from[1]; \
- if (BITS&4) t[i][2] = from[2]; \
- if (BITS&8) t[i][3] = from[3]; \
- } \
+ if (BITS&1) t[i][0] = from[0]; \
+ if (BITS&2) t[i][1] = from[1]; \
+ if (BITS&4) t[i][2] = from[2]; \
+ if (BITS&8) t[i][3] = from[3]; \
} \
}
@@ -70,22 +66,22 @@ COPY_FUNC( 0xd )
COPY_FUNC( 0xe )
COPY_FUNC( 0xf )
-static void TAG2(init_copy, 0 ) ( void )
+static void TAG2(init_copy, 0)( void )
{
- _mesa_copy_tab[IDX][0x0] = TAG2(copy, 0x0);
- _mesa_copy_tab[IDX][0x1] = TAG2(copy, 0x1);
- _mesa_copy_tab[IDX][0x2] = TAG2(copy, 0x2);
- _mesa_copy_tab[IDX][0x3] = TAG2(copy, 0x3);
- _mesa_copy_tab[IDX][0x4] = TAG2(copy, 0x4);
- _mesa_copy_tab[IDX][0x5] = TAG2(copy, 0x5);
- _mesa_copy_tab[IDX][0x6] = TAG2(copy, 0x6);
- _mesa_copy_tab[IDX][0x7] = TAG2(copy, 0x7);
- _mesa_copy_tab[IDX][0x8] = TAG2(copy, 0x8);
- _mesa_copy_tab[IDX][0x9] = TAG2(copy, 0x9);
- _mesa_copy_tab[IDX][0xa] = TAG2(copy, 0xa);
- _mesa_copy_tab[IDX][0xb] = TAG2(copy, 0xb);
- _mesa_copy_tab[IDX][0xc] = TAG2(copy, 0xc);
- _mesa_copy_tab[IDX][0xd] = TAG2(copy, 0xd);
- _mesa_copy_tab[IDX][0xe] = TAG2(copy, 0xe);
- _mesa_copy_tab[IDX][0xf] = TAG2(copy, 0xf);
+ _mesa_copy_tab[0x0] = TAG2(copy, 0x0);
+ _mesa_copy_tab[0x1] = TAG2(copy, 0x1);
+ _mesa_copy_tab[0x2] = TAG2(copy, 0x2);
+ _mesa_copy_tab[0x3] = TAG2(copy, 0x3);
+ _mesa_copy_tab[0x4] = TAG2(copy, 0x4);
+ _mesa_copy_tab[0x5] = TAG2(copy, 0x5);
+ _mesa_copy_tab[0x6] = TAG2(copy, 0x6);
+ _mesa_copy_tab[0x7] = TAG2(copy, 0x7);
+ _mesa_copy_tab[0x8] = TAG2(copy, 0x8);
+ _mesa_copy_tab[0x9] = TAG2(copy, 0x9);
+ _mesa_copy_tab[0xa] = TAG2(copy, 0xa);
+ _mesa_copy_tab[0xb] = TAG2(copy, 0xb);
+ _mesa_copy_tab[0xc] = TAG2(copy, 0xc);
+ _mesa_copy_tab[0xd] = TAG2(copy, 0xd);
+ _mesa_copy_tab[0xe] = TAG2(copy, 0xe);
+ _mesa_copy_tab[0xf] = TAG2(copy, 0xf);
}