diff options
author | Eric Anholt <[email protected]> | 2013-10-28 17:00:23 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-10-29 13:43:01 -0700 |
commit | 774b787d6b7abe601309cf437b09b592fea0394d (patch) | |
tree | 788fb51d735d76205f3e991bfa6f65f8feb2c71b /src/gallium/drivers/freedreno/freedreno_draw.c | |
parent | 9a9fb94ca99e05195f1faa747397bd26fb8f7cca (diff) |
i965/fs: Drop our dead push constants before overflowing to pull constants.
The idea of the original order was that you'd dead code eliminate accesses
to push constants. But I've never seen a case of that (nor has
shader-db), while we frequently see sparse accesses of large constant
arrays that would overflow into pull constants.
Cuts pull constant use on csgo, serious sam, planeshift, and the cave:
total instructions in shared programs: 1695103 -> 1688795 (-0.37%)
instructions in affected programs: 92024 -> 85716 (-6.85%)
GAINED: 339
LOST: 0
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_draw.c')
0 files changed, 0 insertions, 0 deletions