Re: [Mesa-dev] [PATCH 5/9] tgsi: implement micro_fma() in tgsi exec machine

2014-01-07 Thread Maxence Le Doré
Very nice. I originally thought about conditionnaly defining a fmaf for MSVC < 1400 like Cygwin and opensource apple code, but I think this is pushing the problem to later, with double fma(double), that will be required with ARB_gpu_shader_fp64 : In that case, we'll have to use long doubles (80 bit

Re: [Mesa-dev] [PATCH 5/9] tgsi: implement micro_fma() in tgsi exec machine

2014-01-07 Thread Erik Faye-Lund
On Tue, Jan 7, 2014 at 6:46 PM, Maxence Le Doré wrote: > Indeed, this patch compiles on linux but may break complilation at > least on MSVC version < 1400. > I'm planing to install visual studio 2005 on a ms xp or seven virtual > machine to check the behavior when compiling in microsoft windows >

Re: [Mesa-dev] [PATCH 5/9] tgsi: implement micro_fma() in tgsi exec machine

2014-01-07 Thread Maxence Le Doré
Indeed, this patch compiles on linux but may break complilation at least on MSVC version < 1400. I'm planing to install visual studio 2005 on a ms xp or seven virtual machine to check the behavior when compiling in microsoft windows environment. 2014/1/6 Erik Faye-Lund : > On Sun, Jan 5, 2014 at 1

Re: [Mesa-dev] [PATCH 5/9] tgsi: implement micro_fma() in tgsi exec machine

2014-01-06 Thread Erik Faye-Lund
On Sun, Jan 5, 2014 at 12:42 AM, Maxence Le Doré wrote: > From: Maxence Le Doré Huh, user.email not configured properly? > static void > +micro_fma(union tgsi_exec_channel *dst, > + const union tgsi_exec_channel *src0, > + const union tgsi_exec_channel *src1, > + con

[Mesa-dev] [PATCH 5/9] tgsi: implement micro_fma() in tgsi exec machine

2014-01-04 Thread Maxence Le Doré
From: Maxence Le Doré --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 16 1 file changed, 16 insertions(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index b614907..25d3373 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.c +++ b