Re: [Mesa-dev] [PATCH] glsl: Refine the loop instruction counting.

2012-02-28 Thread Kenneth Graunke
On 02/28/2012 01:20 PM, Eric Anholt wrote: Before, we were only counting top-level instructions. But if we have an assignment of a giant expression tree (such as the ones eventually generated by glsl-fs-unroll), we were counting the same as an assignment of a variable deref. glsl-fs-unroll-expl

[Mesa-dev] [PATCH] glsl: Refine the loop instruction counting.

2012-02-28 Thread Eric Anholt
Before, we were only counting top-level instructions. But if we have an assignment of a giant expression tree (such as the ones eventually generated by glsl-fs-unroll), we were counting the same as an assignment of a variable deref. glsl-fs-unroll-explosion now fails in a reasonable amount of tim