diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-07-18 13:58:49 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-07-20 12:09:19 +0200 |
commit | cc10b34e9ed1104f4ceb88a49a42e1d6a743d52f (patch) | |
tree | 92a3778495fecce8eb617f5abaacf87908c96f2a /src/gallium/drivers/radeon | |
parent | 8cacf38f527d42e41441ef8c25d95d4b2f4e8602 (diff) |
util/disk_cache: Fix disk_cache_get_function_timestamp with disabled cache.
radv always needs it, so just check the header instead. Also
do not declare the function if the variable is not set, so we
get a nice compile error instead of failing to open a device
at runtime.
Fixes: b87ef9e606a "util: fix MSVC build issue in disk_cache.h"
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
0 files changed, 0 insertions, 0 deletions