diff options
author | Eric Anholt <[email protected]> | 2012-02-21 13:37:49 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-03-08 11:19:12 -0800 |
commit | be5f27a84d0d4efb57071d9d7ecda061223d03ef (patch) | |
tree | fbdebe4525b0fa6829a77ad91c0d03dd3c49b356 /src/mesa/main/pack.h | |
parent | 7f1cbf12bc883090734983bdd98e5158b9a194a0 (diff) |
glsl: Refine the loop instruction counting.
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 time on
i965 because the unrolling didn't go ridiculously far.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/pack.h')
0 files changed, 0 insertions, 0 deletions