From d55f85491c5039d22cbfa903f1a95571e0a61851 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 5 Apr 2024 14:51:31 +0200 Subject: [PATCH] panfrost: silence compiler warning Reviewed-by: Boris Brezillon Part-of: --- src/gallium/drivers/panfrost/pan_disk_cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/panfrost/pan_disk_cache.c b/src/gallium/drivers/panfrost/pan_disk_cache.c index 382c5880538..8cc08350a0e 100644 --- a/src/gallium/drivers/panfrost/pan_disk_cache.c +++ b/src/gallium/drivers/panfrost/pan_disk_cache.c @@ -34,7 +34,9 @@ #include "pan_context.h" +#ifdef ENABLE_SHADER_CACHE static bool debug = false; +#endif extern int midgard_debug; extern int bifrost_debug;