Re: [Mesa-dev] [PATCH] disk_cache: assert if a cache entries keys don't match mesa

2017-08-24 Thread Eduardo Lima Mitev
On 08/25/2017 06:04 AM, Timothy Arceri wrote: > In ef42423e7be9 I enable the check for release builds however we > still want to assert in debug builds to alert to collisions or > just general bugs with the key building/compare code. Otherwise > it will just fail silently effectively disabling the

[Mesa-dev] [PATCH] disk_cache: assert if a cache entries keys don't match mesa

2017-08-24 Thread Timothy Arceri
In ef42423e7be9 I enable the check for release builds however we still want to assert in debug builds to alert to collisions or just general bugs with the key building/compare code. Otherwise it will just fail silently effectively disabling the cache. --- src/util/disk_cache.c | 4 +++- 1 file cha