diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-27 22:10:00 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-27 22:10:00 +0000 |
commit | 2d8db39301349f67e17fc1b21e5d33d5f44cd521 (patch) | |
tree | c877df2f77ecd09fa50e526101198643bbeba473 /src/mesa/x86 | |
parent | 24507ff6ab91a85f98da60745bd6585499968b60 (diff) |
added aligned memory allocations (Gareth Hughes)
Diffstat (limited to 'src/mesa/x86')
-rw-r--r-- | src/mesa/x86/3dnow.c | 4 | ||||
-rw-r--r-- | src/mesa/x86/x86.c | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/src/mesa/x86/3dnow.c b/src/mesa/x86/3dnow.c index f61e369edc..dd085b6cbe 100644 --- a/src/mesa/x86/3dnow.c +++ b/src/mesa/x86/3dnow.c @@ -1,4 +1,4 @@ -/* $Id: 3dnow.c,v 1.4 2000/06/14 21:55:11 brianp Exp $ */ +/* $Id: 3dnow.c,v 1.5 2000/06/27 22:10:01 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -50,7 +50,7 @@ #define XFORM_ARGS GLvector4f *to_vec, \ - const GLmatrix *mat, \ + const GLfloat m[16], \ const GLvector4f *from_vec, \ const GLubyte *mask, \ const GLubyte flag diff --git a/src/mesa/x86/x86.c b/src/mesa/x86/x86.c index d6c4f31084..2db200df05 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 |