Re: [Mesa-dev] [PATCH 2/3] gallivm: add fp64 support.

2015-06-30 Thread Dave Airlie
On 1 July 2015 at 00:52, Roland Scheidegger wrote: > Am 30.06.2015 um 03:42 schrieb Dave Airlie: >> On 30 June 2015 at 09:36, Roland Scheidegger wrote: >>> Am 29.06.2015 um 22:18 schrieb Dave Airlie: On 30 June 2015 at 00:58, Roland Scheidegger wrote: > Don't worry about the AoS stuff.

Re: [Mesa-dev] [PATCH 2/3] gallivm: add fp64 support.

2015-06-30 Thread Roland Scheidegger
Am 30.06.2015 um 03:42 schrieb Dave Airlie: > On 30 June 2015 at 09:36, Roland Scheidegger wrote: >> Am 29.06.2015 um 22:18 schrieb Dave Airlie: >>> On 30 June 2015 at 00:58, Roland Scheidegger wrote: Don't worry about the AoS stuff. Only meant to do simple things. Looks good overa

Re: [Mesa-dev] [PATCH 2/3] gallivm: add fp64 support.

2015-06-29 Thread Dave Airlie
On 30 June 2015 at 09:36, Roland Scheidegger wrote: > Am 29.06.2015 um 22:18 schrieb Dave Airlie: >> On 30 June 2015 at 00:58, Roland Scheidegger wrote: >>> Don't worry about the AoS stuff. Only meant to do simple things. >>> >>> Looks good overall, I guess it makes sense to not split execution t

Re: [Mesa-dev] [PATCH 2/3] gallivm: add fp64 support.

2015-06-29 Thread Roland Scheidegger
Am 29.06.2015 um 22:18 schrieb Dave Airlie: > On 30 June 2015 at 00:58, Roland Scheidegger wrote: >> Don't worry about the AoS stuff. Only meant to do simple things. >> >> Looks good overall, I guess it makes sense to not split execution too >> (so you'd have native hw vector size there), llvm sho

Re: [Mesa-dev] [PATCH 2/3] gallivm: add fp64 support.

2015-06-29 Thread Dave Airlie
On 30 June 2015 at 00:58, Roland Scheidegger wrote: > Don't worry about the AoS stuff. Only meant to do simple things. > > Looks good overall, I guess it makes sense to not split execution too > (so you'd have native hw vector size there), llvm should handle that > pretty well these days (the sse

Re: [Mesa-dev] [PATCH 2/3] gallivm: add fp64 support.

2015-06-29 Thread Roland Scheidegger
Don't worry about the AoS stuff. Only meant to do simple things. Looks good overall, I guess it makes sense to not split execution too (so you'd have native hw vector size there), llvm should handle that pretty well these days (the sse intrinsics won't get used that way probably (though there's a

[Mesa-dev] [PATCH 2/3] gallivm: add fp64 support.

2015-06-29 Thread Dave Airlie
This adds support for ARB_gpu_shader_fp64 and ARB_vertex_attrib_64bit to llvmpipe. Two things that don't mix well are SoA and doubles, see emit_fetch_double, and emit_store_double_chan in this. I've also had to split emit_data.chan, to add src_chan, which can be different for doubles. Open issue