Re: [Mesa-dev] [PATCH 2/5] glsl: Add an array splitting pass.

2012-04-11 Thread Kenneth Graunke
On 03/26/2012 01:59 PM, Eric Anholt wrote: I've had this code laying around almost done for a long time. The idea is like opt_structure_splitting, that we've got a bunch of transforms at the GLSL IR level that only understand scalars and vectors, which just skip complicated dereferences. While

[Mesa-dev] [PATCH 2/5] glsl: Add an array splitting pass.

2012-03-26 Thread Eric Anholt
I've had this code laying around almost done for a long time. The idea is like opt_structure_splitting, that we've got a bunch of transforms at the GLSL IR level that only understand scalars and vectors, which just skip complicated dereferences. While driver backends may manage some optimization