Re: [Mesa-dev] [PATCH 01/15] i965: Define some useful swizzle helper functions.

2015-03-23 Thread Francisco Jerez
Matt Turner writes: > On Fri, Mar 20, 2015 at 7:11 AM, Francisco Jerez > wrote: >> This defines helper functions implementing some common swizzle >> transformations that are usually open-coded in the compiler back-end, >> causing a lot of clutter. Some optimization passes will become almost >>

Re: [Mesa-dev] [PATCH 01/15] i965: Define some useful swizzle helper functions.

2015-03-21 Thread Matt Turner
On Fri, Mar 20, 2015 at 7:11 AM, Francisco Jerez wrote: > This defines helper functions implementing some common swizzle > transformations that are usually open-coded in the compiler back-end, > causing a lot of clutter. Some optimization passes will become almost > trivial implemented in terms o

[Mesa-dev] [PATCH 01/15] i965: Define some useful swizzle helper functions.

2015-03-20 Thread Francisco Jerez
This defines helper functions implementing some common swizzle transformations that are usually open-coded in the compiler back-end, causing a lot of clutter. Some optimization passes will become almost trivial implemented in terms of these functions (e.g. vec4_visitor::opt_reduce_swizzle()). ---