projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5caf62b
)
layers: GL92, Properly remove cmd buf metadata
author
Mark Lobodzinski
<mark@lunarg.com>
Tue, 19 Jan 2016 23:08:36 +0000
(16:08 -0700)
committer
Mark Lobodzinski
<mark@lunarg.com>
Tue, 19 Jan 2016 23:08:36 +0000
(16:08 -0700)
When FreeCommandBuffers was called the helper routine was not
properly removing the command buffer tracking data.
layers/mem_tracker.cpp
patch
|
blob
|
history
diff --git
a/layers/mem_tracker.cpp
b/layers/mem_tracker.cpp
index
ddd55fb
..
f2f1871
100644
(file)
--- a/
layers/mem_tracker.cpp
+++ b/
layers/mem_tracker.cpp
@@
-180,7
+180,7
@@
delete_cmd_buf_info(
VkBool32 result = VK_TRUE;
result = clear_cmd_buf_and_mem_references(my_data, cb);
// Delete the CBInfo info
- if (result
=
= VK_TRUE) {
+ if (result
!
= VK_TRUE) {
my_data->commandPoolMap[commandPool].pCommandBuffers.remove(cb);
my_data->cbMap.erase(cb);
}