aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/tests/state_pool_no_free.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/tests/state_pool_no_free.c')
-rw-r--r--src/intel/vulkan/tests/state_pool_no_free.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/tests/state_pool_no_free.c b/src/intel/vulkan/tests/state_pool_no_free.c
index 687e52606c1..a3d781ada1a 100644
--- a/src/intel/vulkan/tests/state_pool_no_free.c
+++ b/src/intel/vulkan/tests/state_pool_no_free.c
@@ -63,6 +63,7 @@ static void run_test()
struct anv_state_pool state_pool;
pthread_mutex_init(&device.mutex, NULL);
+ anv_bo_cache_init(&device.bo_cache);
anv_state_pool_init(&state_pool, &device, 4096, 64);
pthread_barrier_init(&barrier, NULL, NUM_THREADS);