Re: [Mesa-dev] IROUND() issue

2012-05-18 Thread Roland Scheidegger
Am 19.05.2012 02:43, schrieb Kurt Roeckx: > On Sat, May 19, 2012 at 02:19:36AM +0200, Roland Scheidegger wrote: >> Am 18.05.2012 23:55, schrieb Kurt Roeckx: >>> On Fri, May 18, 2012 at 09:11:38AM -0700, Jose Fonseca wrote: It sounds a sensible plan, but I wonder if the multiple iround >>>

Re: [Mesa-dev] IROUND() issue

2012-05-18 Thread Kurt Roeckx
On Sat, May 19, 2012 at 02:19:36AM +0200, Roland Scheidegger wrote: > Am 18.05.2012 23:55, schrieb Kurt Roeckx: > > On Fri, May 18, 2012 at 09:11:38AM -0700, Jose Fonseca wrote: > >> > >> It sounds a sensible plan, but I wonder if the multiple iround > >> versions are really worth it: SSE2 is guar

Re: [Mesa-dev] IROUND() issue

2012-05-18 Thread Roland Scheidegger
Am 18.05.2012 23:55, schrieb Kurt Roeckx: > On Fri, May 18, 2012 at 09:11:38AM -0700, Jose Fonseca wrote: >> >> It sounds a sensible plan, but I wonder if the multiple iround >> versions are really worth it: SSE2 is guaranteed in x64, so we >> could just start requiring SSE2 on x86, and only use t

Re: [Mesa-dev] IROUND() issue

2012-05-18 Thread Brian Paul
On 05/18/2012 03:55 PM, Kurt Roeckx wrote: On Fri, May 18, 2012 at 09:11:38AM -0700, Jose Fonseca wrote: It sounds a sensible plan, but I wonder if the multiple iround versions are really worth it: SSE2 is guaranteed in x64, so we could just start requiring SSE2 on x86, and only use the C for

Re: [Mesa-dev] IROUND() issue

2012-05-18 Thread Kurt Roeckx
On Fri, May 18, 2012 at 09:11:38AM -0700, Jose Fonseca wrote: > > It sounds a sensible plan, but I wonder if the multiple iround versions are > really worth it: SSE2 is guaranteed in x64, so we could just start requiring > SSE2 on x86, and only use the C for other platforms. Is the "start requi

Re: [Mesa-dev] IROUND() issue

2012-05-18 Thread Jose Fonseca
- Original Message - > On Fri, May 18, 2012 at 11:28 AM, Brian Paul < bri...@vmware.com > > wrote: > > On 05/18/2012 10:11 AM, Jose Fonseca wrote: > > > > - Original Message - > > > > > > > A while back I noticed that the piglit roundmode-pixelstore and > > > > > > > > >

Re: [Mesa-dev] IROUND() issue

2012-05-18 Thread Roland Scheidegger
Am 18.05.2012 18:41, schrieb Patrick Baggett: > > > On Fri, May 18, 2012 at 11:28 AM, Brian Paul > wrote: > > On 05/18/2012 10:11 AM, Jose Fonseca wrote: > > > > - Original Message - > > > A while back I noticed that the piglit roun

Re: [Mesa-dev] IROUND() issue

2012-05-18 Thread Patrick Baggett
On Fri, May 18, 2012 at 11:28 AM, Brian Paul wrote: > On 05/18/2012 10:11 AM, Jose Fonseca wrote: > >> >> >> - Original Message - >> >>> >>> A while back I noticed that the piglit roundmode-pixelstore and >>> roundmode-getinteger tests pass on my 64-bit Fedora system but fail >>> on >>> a

Re: [Mesa-dev] IROUND() issue

2012-05-18 Thread Brian Paul
On 05/18/2012 10:11 AM, Jose Fonseca wrote: - Original Message - A while back I noticed that the piglit roundmode-pixelstore and roundmode-getinteger tests pass on my 64-bit Fedora system but fail on a 32-bit Ubuntu system. Both glGetIntegerv() and glPixelStoref() use the IROUND()

Re: [Mesa-dev] IROUND() issue

2012-05-18 Thread Jose Fonseca
- Original Message - > > A while back I noticed that the piglit roundmode-pixelstore and > roundmode-getinteger tests pass on my 64-bit Fedora system but fail > on > a 32-bit Ubuntu system. Both glGetIntegerv() and glPixelStoref() > use > the IROUND() function to convert floats to ints

[Mesa-dev] IROUND() issue

2012-05-18 Thread Brian Paul
A while back I noticed that the piglit roundmode-pixelstore and roundmode-getinteger tests pass on my 64-bit Fedora system but fail on a 32-bit Ubuntu system. Both glGetIntegerv() and glPixelStoref() use the IROUND() function to convert floats to ints. The implementation if IROUND() that u