From: Timothy Arceri Date: Tue, 21 Mar 2017 00:49:11 +0000 (+1100) Subject: util/disk_cache: fix build on platforms where shader cache is disabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=020b3f0c4696af198af2b058ec1800723544a2ec;p=mesa.git util/disk_cache: fix build on platforms where shader cache is disabled --- diff --git a/src/util/disk_cache.h b/src/util/disk_cache.h index e3663a65c51..965fea1d94f 100644 --- a/src/util/disk_cache.h +++ b/src/util/disk_cache.h @@ -229,7 +229,7 @@ disk_cache_has_key(struct disk_cache *cache, const cache_key key) return false; } -void +static inline void disk_cache_compute_key(struct disk_cache *cache, const void *data, size_t size, const cache_key key) {