mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
silence warning, minor clean-up
This commit is contained in:
parent
c247c7f66f
commit
d0a82a652d
1 changed files with 4 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Mesa 3-D graphics library
|
* Mesa 3-D graphics library
|
||||||
* Version: 5.1
|
* Version: 6.3
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
|
* Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
|
||||||
*
|
*
|
||||||
|
|
@ -27,12 +27,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "sparc.h"
|
||||||
|
|
||||||
#ifdef USE_SPARC_ASM
|
#ifdef USE_SPARC_ASM
|
||||||
|
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "math/m_xform.h"
|
#include "math/m_xform.h"
|
||||||
#include "tnl/t_context.h"
|
#include "tnl/t_context.h"
|
||||||
#include "sparc.h"
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#include "math/m_debug.h"
|
#include "math/m_debug.h"
|
||||||
|
|
@ -68,7 +69,6 @@
|
||||||
_mesa_##pfx##_transform_points##sz##_3d;
|
_mesa_##pfx##_transform_points##sz##_3d;
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_SPARC_ASM
|
|
||||||
DECLARE_XFORM_GROUP(sparc, 1)
|
DECLARE_XFORM_GROUP(sparc, 1)
|
||||||
DECLARE_XFORM_GROUP(sparc, 2)
|
DECLARE_XFORM_GROUP(sparc, 2)
|
||||||
DECLARE_XFORM_GROUP(sparc, 3)
|
DECLARE_XFORM_GROUP(sparc, 3)
|
||||||
|
|
@ -101,11 +101,10 @@ extern void _mesa_sparc_transform_normals(NORM_ARGS);
|
||||||
extern void _mesa_sparc_normalize_normals(NORM_ARGS);
|
extern void _mesa_sparc_normalize_normals(NORM_ARGS);
|
||||||
extern void _mesa_sparc_rescale_normals(NORM_ARGS);
|
extern void _mesa_sparc_rescale_normals(NORM_ARGS);
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void _mesa_init_all_sparc_transform_asm(void)
|
void _mesa_init_all_sparc_transform_asm(void)
|
||||||
{
|
{
|
||||||
#ifdef USE_SPARC_ASM
|
|
||||||
ASSIGN_XFORM_GROUP(sparc, 1)
|
ASSIGN_XFORM_GROUP(sparc, 1)
|
||||||
ASSIGN_XFORM_GROUP(sparc, 2)
|
ASSIGN_XFORM_GROUP(sparc, 2)
|
||||||
ASSIGN_XFORM_GROUP(sparc, 3)
|
ASSIGN_XFORM_GROUP(sparc, 3)
|
||||||
|
|
@ -143,8 +142,6 @@ void _mesa_init_all_sparc_transform_asm(void)
|
||||||
_math_test_all_cliptest_functions("sparc");
|
_math_test_all_cliptest_functions("sparc");
|
||||||
_math_test_all_normal_transform_functions("sparc");
|
_math_test_all_normal_transform_functions("sparc");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extern unsigned int _mesa_sparc_glapi_begin;
|
extern unsigned int _mesa_sparc_glapi_begin;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue