Re: [Mesa-dev] [PATCH] glsl: add ir_unop_b2d

2016-01-12 Thread Iago Toral
On Tue, 2016-01-12 at 12:41 -0500, Ilia Mirkin wrote: > On Tue, Jan 12, 2016 at 12:33 PM, Ian Romanick wrote: > > On 01/12/2016 07:29 AM, Ilia Mirkin wrote: > >> IIRC this should come out as b2i + i2d. You should be able to test this > >> with llvmpipe/softpipe, which support fp64. > > > > Either

Re: [Mesa-dev] [PATCH] glsl: add ir_unop_b2d

2016-01-12 Thread Iago Toral
On Tue, 2016-01-12 at 10:29 -0500, Ilia Mirkin wrote: > IIRC this should come out as b2i + i2d. You should be able to test > this with llvmpipe/softpipe, which support fp64. I see, thanks for the quick reply, I'll check this on intel. Iago > On Jan 12, 2016 9:49 AM, "Iago Toral Quiroga" > wrote

Re: [Mesa-dev] [PATCH] glsl: add ir_unop_b2d

2016-01-12 Thread Dave Airlie
On 13 January 2016 at 03:41, Ilia Mirkin wrote: > On Tue, Jan 12, 2016 at 12:33 PM, Ian Romanick wrote: >> On 01/12/2016 07:29 AM, Ilia Mirkin wrote: >>> IIRC this should come out as b2i + i2d. You should be able to test this >>> with llvmpipe/softpipe, which support fp64. >> >> Either that or b2

Re: [Mesa-dev] [PATCH] glsl: add ir_unop_b2d

2016-01-12 Thread Ilia Mirkin
On Tue, Jan 12, 2016 at 12:33 PM, Ian Romanick wrote: > On 01/12/2016 07:29 AM, Ilia Mirkin wrote: >> IIRC this should come out as b2i + i2d. You should be able to test this >> with llvmpipe/softpipe, which support fp64. > > Either that or b2f + f2d. I remember there being discussion about this >

Re: [Mesa-dev] [PATCH] glsl: add ir_unop_b2d

2016-01-12 Thread Ian Romanick
On 01/12/2016 07:29 AM, Ilia Mirkin wrote: > IIRC this should come out as b2i + i2d. You should be able to test this > with llvmpipe/softpipe, which support fp64. Either that or b2f + f2d. I remember there being discussion about this topic when Dave first sent out the fp64 patches. I thought we

Re: [Mesa-dev] [PATCH] glsl: add ir_unop_b2d

2016-01-12 Thread Ilia Mirkin
IIRC this should come out as b2i + i2d. You should be able to test this with llvmpipe/softpipe, which support fp64. On Jan 12, 2016 9:49 AM, "Iago Toral Quiroga" wrote: > For boolean to double conversions > --- > > Looks like d2b is present but this one was missing for some reason. I found > this

[Mesa-dev] [PATCH] glsl: add ir_unop_b2d

2016-01-12 Thread Iago Toral Quiroga
For boolean to double conversions --- Looks like d2b is present but this one was missing for some reason. I found this while testing fp64 support on Intel. I have the NIR and i965 implementation of this too but that is be part of the fp64 enablement in NIR/i965 that is not ready for review yet.