From: Kendall Bennett Date: Tue, 21 Oct 2003 23:53:34 +0000 (+0000) Subject: Updates to SSE assembler support for Open Watcom X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c329e5a3d81a56437de4e19fec1de3eca2a1afb7;p=mesa.git Updates to SSE assembler support for Open Watcom --- diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 35297569d89..c720d72de23 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 c29a1046706..4a2c778150b 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 8e995c80c3f..2b824e4c010 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