anv/device: Actually free the CPU-side fence struct again
In 23de78768
, when we switched from allocating individual BOs to using the
pool for fences, we accidentally deleted the free.
This commit is contained in:
parent
32aa01663f
commit
428ffc9c13
|
@ -1454,6 +1454,7 @@ void anv_DestroyFence(
|
|||
ANV_FROM_HANDLE(anv_fence, fence, _fence);
|
||||
|
||||
anv_bo_pool_free(&device->batch_bo_pool, &fence->bo);
|
||||
anv_free2(&device->alloc, pAllocator, fence);
|
||||
}
|
||||
|
||||
VkResult anv_ResetFences(
|
||||
|
|
Loading…
Reference in New Issue