aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/glsl/cache.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/cache.h b/src/compiler/glsl/cache.h
index 78df32b6c54..d804169c656 100644
--- a/src/compiler/glsl/cache.h
+++ b/src/compiler/glsl/cache.h
@@ -139,6 +139,11 @@ cache_create(void)
}
static inline void
+cache_destroy(struct program_cache *cache) {
+ return;
+}
+
+static inline void
cache_put(struct program_cache *cache, cache_key key,
const void *data, size_t size)
{