glsl: Add missing cache_destroy stub function.
authorVinson Lee <vlee@freedesktop.org>
Fri, 7 Oct 2016 20:57:44 +0000 (13:57 -0700)
committerVinson Lee <vlee@freedesktop.org>
Mon, 10 Oct 2016 18:17:31 +0000 (11:17 -0700)
commit0a898ec28bf1bd1bd302c881af13a02b557acb07
tree36fdb08cca71b9950d1d0bf471bc8244580a11fb
parentf8f6f60a362d067c9e72cf675736b35730e06a0d
glsl: Add missing cache_destroy stub function.

  CC       glsl/tests/cache_test.o
glsl/tests/cache_test.c: In function ‘test_cache_create’:
glsl/tests/cache_test.c:160:4: error: implicit declaration of function ‘cache_destroy’ [-Werror=implicit-function-declaration]
    cache_destroy(cache);
    ^

Fixes: 87ab26b2ab35 ("glsl: Add initial functions to implement an on-disk cache")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/compiler/glsl/cache.h