commit | 3954331aff2329157a15f8b5b9b4655179aafc33 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Tue Aug 07 13:31:09 2018 -0700 |
committer | Eric Anholt <eric@anholt.net> | Tue Aug 07 17:00:22 2018 -0700 |
tree | b02581247cb537ec1f87ab5ca4a1d273ec3e694e | |
parent | 550e9c917c155b3fc4e7bd0b74ead90814f864d8 [diff] |
vc4: Pull uinfo->data[i] dereference out to the top of the loop. Reduces the size of vc4_uniforms.o by about 10%. We would basically always end up loading the cachline of uinfo->data[i] anyway, so it should be good for performance as well as making the code a bit cleaner.