Oops.  Sorry about this.  I've committed an equivalent change.

Keith

Egbert Eich wrote:
I needed the patch below to build Mesa CVS head on
x86-64.
Otherwise gcc complained about RESTORE_FPU being undefined when compiling t_vb_arbprogram.c

Egbert.


diff -u -r1.4 t_vb_arbprogram.h
--- src/mesa/tnl/t_vb_arbprogram.h      10 Jul 2005 11:23:10 -0000      1.4
+++ src/mesa/tnl/t_vb_arbprogram.h      13 Jul 2005 13:35:11 -0000
@@ -128,6 +128,7 @@
/*--------------------------------------------------------------------------- */
+#if defined (__i386__)
 #ifdef NO_FAST_MATH
 #define RESTORE_FPU (DEFAULT_X86_FPU)
 #define RND_NEG_FPU (DEFAULT_X86_FPU | 0x400)
@@ -135,6 +136,10 @@
 #define RESTORE_FPU (FAST_X86_FPU)
 #define RND_NEG_FPU (FAST_X86_FPU | 0x400)
 #endif
+#else
+#define RESTORE_FPU 0
+#define RND_NEG_FPU 0
+#endif
/*!
  * Private storage for the vertex program pipeline stage.


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to