diff options
Diffstat (limited to 'src/intel/vulkan/tests/state_pool.c')
-rw-r--r-- | src/intel/vulkan/tests/state_pool.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/intel/vulkan/tests/state_pool.c b/src/intel/vulkan/tests/state_pool.c index db3f3ec08a4..249fe64fe92 100644 --- a/src/intel/vulkan/tests/state_pool.c +++ b/src/intel/vulkan/tests/state_pool.c @@ -38,14 +38,12 @@ int main(int argc, char **argv) struct anv_device device = { .instance = &instance, }; - struct anv_block_pool block_pool; struct anv_state_pool state_pool; pthread_mutex_init(&device.mutex, NULL); for (unsigned i = 0; i < NUM_RUNS; i++) { - anv_block_pool_init(&block_pool, &device, 4096); - anv_state_pool_init(&state_pool, &block_pool, 256); + anv_state_pool_init(&state_pool, &device, 256); /* Grab one so a zero offset is impossible */ anv_state_pool_alloc(&state_pool, 16, 16); @@ -53,7 +51,6 @@ int main(int argc, char **argv) run_state_pool_test(&state_pool); anv_state_pool_finish(&state_pool); - anv_block_pool_finish(&block_pool); } pthread_mutex_destroy(&device.mutex); |