anv/allocator: Add a start_offset to anv_state_pool
[mesa.git] / src / intel / vulkan / tests / state_pool.c
index be844e0498f799644bd30aab93809adccdec38d8..41cb8757617b544d54082c037a7080a46100e97f 100644 (file)
@@ -46,7 +46,7 @@ int main(int argc, char **argv)
    anv_bo_cache_init(&device.bo_cache);
 
    for (unsigned i = 0; i < NUM_RUNS; i++) {
-      anv_state_pool_init(&state_pool, &device, 4096, 256);
+      anv_state_pool_init(&state_pool, &device, 4096, 0, 256);
 
       /* Grab one so a zero offset is impossible */
       anv_state_pool_alloc(&state_pool, 16, 16);