summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/matrix.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-02-21 13:37:49 -0800
committerEric Anholt <[email protected]>2012-03-08 11:19:12 -0800
commitbe5f27a84d0d4efb57071d9d7ecda061223d03ef (patch)
treefbdebe4525b0fa6829a77ad91c0d03dd3c49b356 /src/mesa/main/matrix.h
parent7f1cbf12bc883090734983bdd98e5158b9a194a0 (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/matrix.h')
0 files changed, 0 insertions, 0 deletions