cmd_buffer->last_ss_pool_center);
VkResult result =
anv_execbuf_add_bo(&execbuf, &ss_pool->bo, &cmd_buffer->surface_relocs,
- &cmd_buffer->pool->alloc);
+ &device->alloc);
if (result != VK_SUCCESS)
return result;
cmd_buffer->last_ss_pool_center);
result = anv_execbuf_add_bo(&execbuf, &(*bbo)->bo, &(*bbo)->relocs,
- &cmd_buffer->pool->alloc);
+ &device->alloc);
if (result != VK_SUCCESS)
return result;
}
result = anv_device_execbuf(device, &execbuf.execbuf, execbuf.bos);
- anv_execbuf_finish(&execbuf, &cmd_buffer->pool->alloc);
+ anv_execbuf_finish(&execbuf, &device->alloc);
return result;
}