diff options
author | Tobin Ehlis <tobine@google.com> | 2016-04-18 15:40:59 -0600 |
---|---|---|
committer | Tobin Ehlis <tobine@google.com> | 2016-04-19 09:29:21 -0600 |
commit | 914b7762c2a610f774529af496a564466f46e663 (patch) | |
tree | 1574b2cbb22fac4ad81a586d422993ab3166085e /vk-layer-generate.py | |
parent | 83a8434e8ee7a987b27c8ee03e6554b0ad415aa2 (diff) |
layers: Fix object_tracker bugs
A couple of bugs in object_tracker hand-coded sections that MarkY tracked down.
In DestroyInstance case we were attempting to delete wrong map key.
Then, for vkDestroyCommandPool we were using wrong function to clean-up the
command buffers in that pool which would result in occassional crashes.
Diffstat (limited to 'vk-layer-generate.py')
-rwxr-xr-x | vk-layer-generate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vk-layer-generate.py b/vk-layer-generate.py index 16654e10..3af04f14 100755 --- a/vk-layer-generate.py +++ b/vk-layer-generate.py @@ -1007,7 +1007,7 @@ class ObjectTrackerSubcommand(Subcommand): gedi_txt.append(' }') gedi_txt.append('') gedi_txt.append(' layer_debug_report_destroy_instance(mid(instance));') - gedi_txt.append(' layer_data_map.erase(pInstanceTable);') + gedi_txt.append(' layer_data_map.erase(key);') gedi_txt.append('') gedi_txt.append(' instanceExtMap.erase(pInstanceTable);') gedi_txt.append(' lock.unlock();') |