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:
e4ca223
)
layers: Update freeDescriptorSet() comment
author
Tobin Ehlis
<tobine@google.com>
Thu, 26 May 2016 19:39:11 +0000
(13:39 -0600)
committer
Tobin Ehlis
<tobine@google.com>
Tue, 31 May 2016 14:49:43 +0000
(08:49 -0600)
layers/core_validation.cpp
patch
|
blob
|
history
diff --git
a/layers/core_validation.cpp
b/layers/core_validation.cpp
index
fcc25f3
..
381ca02
100644
(file)
--- a/
layers/core_validation.cpp
+++ b/
layers/core_validation.cpp
@@
-3411,7
+3411,7
@@
static bool validateIdleDescriptorSet(const layer_data *my_data, VkDescriptorSet
return skip_call;
}
-//
Free the descriptor set, remove it from setMap and invalidate any cmd buffers that it was bound to
+//
Remove set from setMap and delete the set
static void freeDescriptorSet(layer_data *dev_data, cvdescriptorset::DescriptorSet *descriptor_set) {
dev_data->setMap.erase(descriptor_set->GetSet());
delete descriptor_set;