diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-09-15 15:54:25 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-09-15 15:54:25 +0000 |
commit | 0e52184c48f47023a5d28167a99ee3651bd7af6e (patch) | |
tree | 706aa3bde27c6b1b2d08723939d193ab52a3dcdd /src/mesa/x86 | |
parent | f7a4bcaf7970c18ad2ca1d1714babbc307775e70 (diff) | |
download | external_mesa3d-0e52184c48f47023a5d28167a99ee3651bd7af6e.zip external_mesa3d-0e52184c48f47023a5d28167a99ee3651bd7af6e.tar.gz external_mesa3d-0e52184c48f47023a5d28167a99ee3651bd7af6e.tar.bz2 |
moved DECLARE_XFORM_GROUP macros outside of gl_init_3dnow_asm_transforms() to silence compiler warnings
Diffstat (limited to 'src/mesa/x86')
-rw-r--r-- | src/mesa/x86/3dnow.c | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/src/mesa/x86/3dnow.c b/src/mesa/x86/3dnow.c index dd085b6..c87ecd6 100644 --- a/src/mesa/x86/3dnow.c +++ b/src/mesa/x86/3dnow.c @@ -1,8 +1,8 @@ -/* $Id: 3dnow.c,v 1.5 2000/06/27 22:10:01 brianp Exp $ */ +/* $Id: 3dnow.c,v 1.6 2000/09/15 15:54:25 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.3 + * Version: 3.5 * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * @@ -144,22 +144,22 @@ extern void _ASMAPI gl_v16_3dnow_general_xform( GLfloat *first_vert, GLuint src_stride, GLuint count ); -void gl_init_3dnow_asm_transforms (void) -{ - DECLARE_XFORM_GROUP( _3dnow, 1, raw ) - DECLARE_XFORM_GROUP( _3dnow, 2, raw ) - DECLARE_XFORM_GROUP( _3dnow, 3, raw ) - DECLARE_XFORM_GROUP( _3dnow, 4, raw ) - DECLARE_XFORM_GROUP( _3dnow, 1, masked ) - DECLARE_XFORM_GROUP( _3dnow, 2, masked ) - DECLARE_XFORM_GROUP( _3dnow, 3, masked ) - DECLARE_XFORM_GROUP( _3dnow, 4, masked ) +DECLARE_XFORM_GROUP( _3dnow, 1, raw ) +DECLARE_XFORM_GROUP( _3dnow, 2, raw ) +DECLARE_XFORM_GROUP( _3dnow, 3, raw ) +DECLARE_XFORM_GROUP( _3dnow, 4, raw ) + +DECLARE_XFORM_GROUP( _3dnow, 1, masked ) +DECLARE_XFORM_GROUP( _3dnow, 2, masked ) +DECLARE_XFORM_GROUP( _3dnow, 3, masked ) +DECLARE_XFORM_GROUP( _3dnow, 4, masked ) - DECLARE_NORM_GROUP( _3dnow, raw ) -/* DECLARE_NORM_GROUP( _3dnow, masked ) -*/ +DECLARE_NORM_GROUP( _3dnow, raw ) +/*DECLARE_NORM_GROUP( _3dnow, masked )*/ +void gl_init_3dnow_asm_transforms (void) +{ ASSIGN_XFORM_GROUP( _3dnow, 0, 1, raw ) ASSIGN_XFORM_GROUP( _3dnow, 0, 2, raw ) ASSIGN_XFORM_GROUP( _3dnow, 0, 3, raw ) @@ -171,8 +171,7 @@ void gl_init_3dnow_asm_transforms (void) ASSIGN_XFORM_GROUP( _3dnow, CULL_MASK_ACTIVE, 4, masked ) ASSIGN_NORM_GROUP( _3dnow, 0, raw ) -/* ASSIGN_NORM_GROUP( _3dnow, CULL_MASK_ACTIVE, masked ) -*/ +/* ASSIGN_NORM_GROUP( _3dnow, CULL_MASK_ACTIVE, masked )*/ #ifdef DEBUG gl_test_all_transform_functions("3Dnow!"); |