projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fda0215
)
layers: Remove lastBound state reset in destructor
author
Tobin Ehlis
<tobine@google.com>
Thu, 19 May 2016 12:58:13 +0000
(06:58 -0600)
committer
Tobin Ehlis
<tobine@google.com>
Thu, 19 May 2016 12:58:13 +0000
(06:58 -0600)
No need to reset this state right before GLOBAL_CB_NODE is destroyed.
layers/core_validation.cpp
patch
|
blob
|
history
diff --git
a/layers/core_validation.cpp
b/layers/core_validation.cpp
index
3e5360b
..
934a228
100644
(file)
--- a/
layers/core_validation.cpp
+++ b/
layers/core_validation.cpp
@@
-77,7
+77,6
@@
GLOBAL_CB_NODE::~GLOBAL_CB_NODE() {
for (auto set : lastBound[i].uniqueBoundSets) {
set->RemoveBoundCommandBuffer(this);
}
- lastBound[i].reset();
}
}