http://bugs.freedesktop.org/show_bug.cgi?id=27286





--- Comment #3 from Karthik Hariharakrishnan <karha...@arm.com>  2010-03-24 
08:13:10 PST ---
(In reply to comment #2)
> Can you provide a stand-alone test program that demonstrates this?
> 
> I tried it myself and I got the expected result: mod(4.0, 2.0) returns 0.0
> 
> Mesa's mod() function is implemented just as the spec says:
> 
> float mod(const float a, const float b)
> {
>     float oneOverB;
>     __asm float_rcp oneOverB, b;
>     __retVal = a - b * floor(a * oneOverB);
> }
> 

Hi Brian,

  Could you try running the program against the library in lib/gallium.
export LD_LIBRARY_PATH=<blah>/Mesa-7.7/lib/gallium

The test passes when the following is set
export LD_LIBRARY_PATH=<blah>/Mesa-7.7/lib/

Thanks


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to