diff options
author | Eric Anholt <[email protected]> | 2015-02-19 12:58:53 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-02-19 23:35:17 -0800 |
commit | 14dc281c1332518b6144718e1fb3845abbe23ff7 (patch) | |
tree | 7726018b2b9106c2d184236027fb56b3dcdd68be /src/glx/dri2.c | |
parent | 09c844fcd9c0dc81da4f914e6b88892ea76fe8e9 (diff) |
vc4: Enforce one-uniform-per-instruction after optimization.
This lets us more intelligently decide which uniform values should be put
into temporaries, by choosing the most reused values to push to temps
first.
total uniforms in shared programs: 13457 -> 13433 (-0.18%)
uniforms in affected programs: 1524 -> 1500 (-1.57%)
total instructions in shared programs: 40198 -> 40019 (-0.45%)
instructions in affected programs: 6027 -> 5848 (-2.97%)
I noticed this opportunity because with the NIR work, some programs were
happening to make different uniform copy propagation choices that
significantly increased instruction counts.
Diffstat (limited to 'src/glx/dri2.c')
0 files changed, 0 insertions, 0 deletions