diff options
author | Eric Anholt <[email protected]> | 2020-07-01 13:33:21 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-07 18:19:22 +0000 |
commit | 18cb8f23222422c7fb9764362e659d15ec0b64eb (patch) | |
tree | a831ce086c8d42686d13969b2c14fe299dacbef3 /src/gallium/drivers | |
parent | 9300a14ffbac490906f62a638f9d8d6546298bfc (diff) |
util: Mark util_format_description() as a const function.
It will return the same table every time with no other side effects, so we
want it to be CSEed. Saves 3.5k on my aarch64 GL drivers, almost 9k on
turnip, but weirdly increases my x86 GL driver collection by ~3k.
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5728>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions