From 34861ad9f10066f2fae77ee023ce4318c46360f2 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Fri, 1 Sep 2017 17:03:21 -0700 Subject: 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. --- layers/buffer_validation.h | 1 + 1 file changed, 1 insertion(+) (limited to 'layers/buffer_validation.h') 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 #include -- cgit v1.2.3