summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKendall Bennett <KendallB@scitechsoft.com>2003-10-21 23:53:34 +0000
committerKendall Bennett <KendallB@scitechsoft.com>2003-10-21 23:53:34 +0000
commitc329e5a3d81a56437de4e19fec1de3eca2a1afb7 (patch)
treebff44262ba81394d81f90ab48d3d659bca22c964 /src
parentc40d1dd62dd9bcbb97128e37a75d991a8d3b2d8c (diff)
Updates to SSE assembler support for Open Watcom
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast/s_context.c2
-rw-r--r--src/mesa/x86/common_x86.c4
-rw-r--r--src/mesa/x86/sse.c14
3 files changed, 10 insertions, 10 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c
index 35297569d8..c720d72de2 100644
--- a/src/mesa/swrast/s_context.c
+++ b/src/mesa/swrast/s_context.c
@@ -269,7 +269,7 @@ _swrast_validate_point( GLcontext *ctx, const SWvertex *v0 )
}
-static void
+static void GLAPIENTRY
_swrast_validate_blend_func( GLcontext *ctx, GLuint n,
const GLubyte mask[],
GLchan src[][4],
diff --git a/src/mesa/x86/common_x86.c b/src/mesa/x86/common_x86.c
index c29a104670..4a2c778150 100644
--- a/src/mesa/x86/common_x86.c
+++ b/src/mesa/x86/common_x86.c
@@ -1,4 +1,4 @@
-/* $Id: common_x86.c,v 1.23 2003/10/14 23:47:22 kendallb Exp $ */
+/* $Id: common_x86.c,v 1.24 2003/10/21 23:53:34 kendallb Exp $ */
/*
* Mesa 3-D graphics library
@@ -53,7 +53,7 @@ int _mesa_x86_cpu_features = 0;
/* No reason for this to be public.
*/
extern GLuint _ASMAPI _mesa_x86_has_cpuid(void);
-extern void _ASMAPI _mesa_x86_cpuid(GLuint op, GLuint *reg_eax, GLuint *reg_ebx, GLuint *reg_ecx, GLuint *reg_edx);
+extern void _ASMAPI _mesa_x86_cpuid(GLuint op, GLuint *reg_eax, GLuint *reg_ebx, GLuint *reg_ecx, GLuint *reg_edx);
extern GLuint _ASMAPI _mesa_x86_cpuid_eax(GLuint op);
extern GLuint _ASMAPI _mesa_x86_cpuid_ebx(GLuint op);
extern GLuint _ASMAPI _mesa_x86_cpuid_ecx(GLuint op);
diff --git a/src/mesa/x86/sse.c b/src/mesa/x86/sse.c
index 8e995c80c3..2b824e4c01 100644
--- a/src/mesa/x86/sse.c
+++ b/src/mesa/x86/sse.c
@@ -1,4 +1,4 @@
-/* $Id: sse.c,v 1.3 2002/04/09 14:58:03 keithw Exp $ */
+/* $Id: sse.c,v 1.4 2003/10/21 23:53:34 kendallb Exp $ */
/*
* Mesa 3-D graphics library
@@ -48,13 +48,13 @@ DECLARE_XFORM_GROUP( sse, 3 )
#if 1
/* Some functions are not written in SSE-assembly, because the fpu ones are faster */
-extern void _mesa_sse_transform_normals_no_rot( NORM_ARGS );
-extern void _mesa_sse_transform_rescale_normals( NORM_ARGS );
-extern void _mesa_sse_transform_rescale_normals_no_rot( NORM_ARGS );
+extern void _ASMAPI _mesa_sse_transform_normals_no_rot( NORM_ARGS );
+extern void _ASMAPI _mesa_sse_transform_rescale_normals( NORM_ARGS );
+extern void _ASMAPI _mesa_sse_transform_rescale_normals_no_rot( NORM_ARGS );
-extern void _mesa_sse_transform_points4_general( XFORM_ARGS );
-extern void _mesa_sse_transform_points4_3d( XFORM_ARGS );
-extern void _mesa_sse_transform_points4_identity( XFORM_ARGS );
+extern void _ASMAPI _mesa_sse_transform_points4_general( XFORM_ARGS );
+extern void _ASMAPI _mesa_sse_transform_points4_3d( XFORM_ARGS );
+extern void _ASMAPI _mesa_sse_transform_points4_identity( XFORM_ARGS );
#else
DECLARE_NORM_GROUP( sse )
#endif