summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-07 14:48:35 -0800
committerJason Ekstrand <[email protected]>2016-03-07 14:50:52 -0800
commit428ffc9c13c24c30c317c2e985b9097956c583b0 (patch)
treeb4252629ef5e3edee4ba7824abcd2f0273bd0aa4 /src/intel/vulkan
parent32aa01663ff649a399480886106e203cc347c212 (diff)
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.
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/anv_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 8aa1e61acad..816f780c6ff 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -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(