[Mesa-dev] [PATCH 7/7] util/disk_cache: hash pointer size into cache keys

Grazvydas Ignotas notasas at gmail.com
Sun Mar 12 22:34:32 UTC 2017


On Mon, Mar 13, 2017 at 12:20 AM, Timothy Arceri <tarceri at itsqueeze.com> wrote:
> We don't need to hash the pointer size. You can just remove
> get_arch_bitness_str() and fix up the test. Timestamp should be enough on
> its own, even if the 64/32bit builds have the same timestamp that is fine
> because the cache entries are arch independent.

Right now the entries are still pointer size dependent because the
whole struct gl_shader_variable is written to cache, and that has a
bunch of pointers. There might be other places like that, I haven't
done a complete audit.

GraÅžvydas


More information about the mesa-dev mailing list