Re: [Mesa-dev] [PATCH V2 6/6] util: disable cache if we have no build-id and timestamp is zero

2018-10-03 Thread Timothy Arceri
On 3/10/18 8:49 pm, Emil Velikov wrote: HI Tim, On Wed, 19 Sep 2018 at 23:55, Timothy Arceri wrote: Timestamp can be zero for example when Flatpak is used. In this case just disable the cache rather then segfaulting when incompatible cache items are loaded. V2: actually return false when

Re: [Mesa-dev] [PATCH V2 6/6] util: disable cache if we have no build-id and timestamp is zero

2018-10-03 Thread Emil Velikov
HI Tim, On Wed, 19 Sep 2018 at 23:55, Timothy Arceri wrote: > > Timestamp can be zero for example when Flatpak is used. In this > case just disable the cache rather then segfaulting when > incompatible cache items are loaded. > > V2: actually return false when mtime is 0. Guessing that you've

Re: [Mesa-dev] [PATCH V2 6/6] util: disable cache if we have no build-id and timestamp is zero

2018-09-19 Thread Bas Nieuwenhuizen
R-b On Thu, 20 Sep 2018, 00:54 Timothy Arceri, wrote: > Timestamp can be zero for example when Flatpak is used. In this > case just disable the cache rather then segfaulting when > incompatible cache items are loaded. > > V2: actually return false when mtime is 0. > --- >

[Mesa-dev] [PATCH V2 6/6] util: disable cache if we have no build-id and timestamp is zero

2018-09-19 Thread Timothy Arceri
Timestamp can be zero for example when Flatpak is used. In this case just disable the cache rather then segfaulting when incompatible cache items are loaded. V2: actually return false when mtime is 0. --- src/amd/vulkan/radv_device.c | 4 src/util/disk_cache.h| 8 2 files