projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32aa016
)
anv/device: Actually free the CPU-side fence struct again
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 7 Mar 2016 22:48:35 +0000
(14:48 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 7 Mar 2016 22:50:52 +0000
(14:50 -0800)
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
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_device.c
b/src/intel/vulkan/anv_device.c
index 8aa1e61acad4871c9f5a6e54773094cd3f936146..816f780c6ffd102c77318b962f43281d4cf0af63 100644
(file)
--- 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(