diff options
| author | Chris Forbes <chrisforbes@google.com> | 2017-09-01 17:03:21 -0700 |
|---|---|---|
| committer | Chris Forbes <chrisf@ijw.co.nz> | 2017-09-05 12:15:43 -0700 |
| commit | 34861ad9f10066f2fae77ee023ce4318c46360f2 (patch) | |
| tree | e3e4f1ac3b4962e1d3456d011779f04871ac731a /layers/buffer_validation.h | |
| parent | dacf0c23f75d8cd36f85b450dc3c692cfdc9ff3d (diff) | |
| download | usermoji-34861ad9f10066f2fae77ee023ce4318c46360f2.tar.xz | |
layers: Fix leaking backing sets for push descriptors
We'd previously leak any temporary descriptor set left bound to the
pipeline at the end of the command buffer. Rearrange things so we can
use unique_ptr and assure it's always cleaned up correctly.
Diffstat (limited to 'layers/buffer_validation.h')
| -rw-r--r-- | layers/buffer_validation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/buffer_validation.h b/layers/buffer_validation.h index dbc0127e..0bc7dabf 100644 --- a/layers/buffer_validation.h +++ b/layers/buffer_validation.h @@ -22,6 +22,7 @@ #include "core_validation_types.h" #include "core_validation_error_enums.h" +#include "descriptor_sets.h" #include "vulkan/vk_layer.h" #include <limits.h> #include <memory> |
