[Mesa-dev] [PATCH 1/2] util/disk_cache: support caches for multiple architectures

Mike Lothian mike at fireburn.co.uk
Thu Mar 2 16:39:03 UTC 2017


Could the solution be keeping X number of cache's and delete the oldest
ones, I guess we'd need at least 2

On Thu, 2 Mar 2017 at 16:36 Mike Lothian <mike at fireburn.co.uk> wrote:

> I'm guessing when the code runs the 32bit and 64bit have different build
> times so invalidate the cache and create a new one
>
> On Thu, 2 Mar 2017 at 16:25 Marek Olšák <maraeo at gmail.com> wrote:
>
> On Thu, Mar 2, 2017 at 3:03 PM, Mike Lothian <mike at fireburn.co.uk> wrote:
> > Is this because the 32bit and 64bit versions have slightly different time
> > stamps used in the cache directory name? I was under the impression that
> the
> > cache itself could be shared between 32bit & 64bit?
> >
> > I guess this only matters for the few games that offer both a 32bit and
> > 64bit binary, producing duplicate entries in both caches potentially
>
> In addition to that, I'd like to know why the CPU architecture is even
> being considered. IMO, the CPU arch can be ignored for the shader
> cache completely.
>
> Marek
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170302/eef57cc4/attachment.html>


More information about the mesa-dev mailing list