Mesa (vulkan): anv/device: Actually free the CPU-side fence struct again
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Mon Mar 7 22:51:28 UTC 2016
Module: Mesa
Branch: vulkan
Commit: 428ffc9c13c24c30c317c2e985b9097956c583b0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=428ffc9c13c24c30c317c2e985b9097956c583b0
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Mon Mar 7 14:48:35 2016 -0800
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.
---
src/intel/vulkan/anv_device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 8aa1e61..816f780 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(
More information about the mesa-commit
mailing list