summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/intel/vulkan/anv_pipeline_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_pipeline_cache.c b/src/intel/vulkan/anv_pipeline_cache.c
index a25b56cf9d1..bc7dd100e2b 100644
--- a/src/intel/vulkan/anv_pipeline_cache.c
+++ b/src/intel/vulkan/anv_pipeline_cache.c
@@ -621,7 +621,7 @@ anv_device_search_for_kernel(struct anv_device *device,
if (cache) {
bin = anv_pipeline_cache_search(cache, key_data, key_size);
if (bin) {
- *user_cache_hit = true;
+ *user_cache_hit = cache != &device->default_pipeline_cache;
return bin;
}
}