commit | 8c7ac377b7a859705479a0b421d1dacc53ca240a | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Fri Oct 24 17:16:59 2014 +0100 |
committer | Eric Anholt <eric@anholt.net> | Fri Oct 24 18:04:26 2014 +0100 |
tree | 0406d9f2882f80bcbf07e2c81a50d2fec00eff6a | |
parent | 18ccda7b86b8f7ab7466265aefb3f3e773f4a757 [diff] |
vc4: Reuse uniform_data/contents indices when making uniforms. This allows vc4_opt_cse.c to CSE-away operations involving the same uniform values. total instructions in shared programs: 37341 -> 36906 (-1.16%) instructions in affected programs: 10233 -> 9798 (-4.25%) total uniforms in shared programs: 10523 -> 10320 (-1.93%) uniforms in affected programs: 2467 -> 2264 (-8.23%)