util/disk_cache: Add NONE type
authorRob Clark <robdclark@chromium.org>
Wed, 5 Apr 2023 15:57:17 +0000 (08:57 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 5 Apr 2023 20:25:04 +0000 (20:25 +0000)
commit213627e94b05b1cd741377678a2a306e1b0c7f9d
tree91e7b86a1ba553a9a394c23c6c6ca3c9989f627b
parentafb350906eaa3dc0c6273d6af1843beea3971c47
util/disk_cache: Add NONE type

Add an explicit enum for the DISK_CACHE_NONE type so that we don't
confuse with the MULTI_FILE case on android when the blob-cache is
used.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22248>
src/util/disk_cache.c
src/util/disk_cache_os.h