diff options
author | Brian Paul <[email protected]> | 2000-06-27 22:10:00 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-06-27 22:10:00 +0000 |
commit | 2d8db39301349f67e17fc1b21e5d33d5f44cd521 (patch) | |
tree | c877df2f77ecd09fa50e526101198643bbeba473 /src/mesa/x86/x86.c | |
parent | 24507ff6ab91a85f98da60745bd6585499968b60 (diff) |
added aligned memory allocations (Gareth Hughes)
Diffstat (limited to 'src/mesa/x86/x86.c')
-rw-r--r-- | src/mesa/x86/x86.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mesa/x86/x86.c b/src/mesa/x86/x86.c index d6c4f31084c..2db200df05b 100644 --- a/src/mesa/x86/x86.c +++ b/src/mesa/x86/x86.c @@ -1,4 +1,4 @@ -/* $Id: x86.c,v 1.7 2000/05/26 16:17:00 brianp Exp $ */ +/* $Id: x86.c,v 1.8 2000/06/27 22:10:01 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -37,23 +37,23 @@ #include "x86.h" #ifdef USE_X86_ASM -extern void _ASMAPI gl_v16_x86_cliptest_points4(GLfloat *first_vert, +extern void _ASMAPI gl_v16_x86_cliptest_points4( GLfloat *first_vert, GLfloat *last_vert, GLubyte *or_mask, GLubyte *and_mask, GLubyte *clip_mask ); -extern void _ASMAPI gl_v16_x86_general_xform(GLfloat *dest, +extern void _ASMAPI gl_v16_x86_general_xform( GLfloat *dest, const GLfloat *m, const GLfloat *src, GLuint src_stride, - GLuint count); + GLuint count ); #endif #define XFORM_ARGS GLvector4f *to_vec, \ - const GLmatrix *mat, \ + const GLfloat m[16], \ const GLvector4f *from_vec, \ const GLubyte *mask, \ const GLubyte flag @@ -118,7 +118,6 @@ void gl_init_x86_asm_transforms( void ) gl_test_all_transform_functions("x86"); #endif - gl_cliptest_points4_v16 = gl_v16_x86_cliptest_points4; gl_xform_points3_v16_general = gl_v16_x86_general_xform; #endif |