-cache_has_key(struct program_cache *cache, cache_key key);
-
-#else
-
-static inline struct program_cache *
-cache_create(void)
-{
- return NULL;
-}
-
-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)
-{
- return;
-}
-
-static inline uint8_t *
-cache_get(struct program_cache *cache, cache_key key, size_t *size)
-{
- return NULL;
-}
-
-static inline void
-cache_put_key(struct program_cache *cache, cache_key key)
-{
- return;
-}
-
-static inline bool
-cache_has_key(struct program_cache *cache, cache_key key)
-{
- return false;
-}
-
-#endif /* ENABLE_SHADER_CACHE */