From: Brian Paul Date: Fri, 15 Sep 2000 15:54:25 +0000 (+0000) Subject: moved DECLARE_XFORM_GROUP macros outside of gl_init_3dnow_asm_transforms() to silence... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e52184c48f47023a5d28167a99ee3651bd7af6e;p=mesa.git moved DECLARE_XFORM_GROUP macros outside of gl_init_3dnow_asm_transforms() to silence compiler warnings --- diff --git a/src/mesa/x86/3dnow.c b/src/mesa/x86/3dnow.c index dd085b6cbe0..c87ecd6ba7f 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!");