Re: [Mesa-dev] [PATCH 099/133] nir: Vectorize intrinsics

2015-01-05 Thread Jason Ekstrand
On Sun, Jan 4, 2015 at 8:56 PM, Connor Abbott wrote: > Reviewed-by: Connor Abbott > > Nice to see that this idea worked out well! > > On Tue, Dec 16, 2014 at 1:11 AM, Jason Ekstrand > wrote: > >> We used to have the number of components built into the intrinsic. This >> meant that all of our l

Re: [Mesa-dev] [PATCH 099/133] nir: Vectorize intrinsics

2015-01-04 Thread Connor Abbott
Reviewed-by: Connor Abbott Nice to see that this idea worked out well! On Tue, Dec 16, 2014 at 1:11 AM, Jason Ekstrand wrote: > We used to have the number of components built into the intrinsic. This > meant that all of our load/store intrinsics had vec1, vec2, vec3, and vec4 > variants. Thi

[Mesa-dev] [PATCH 099/133] nir: Vectorize intrinsics

2014-12-15 Thread Jason Ekstrand
We used to have the number of components built into the intrinsic. This meant that all of our load/store intrinsics had vec1, vec2, vec3, and vec4 variants. This lead to piles of switch statements to generate the correct texture names, and introspection to figure out the number of components. We