From fd558f59041145754a9509323622ea7047a2286c Mon Sep 17 00:00:00 2001 From: Józef Kucia Date: Sun, 10 Sep 2017 11:24:08 +0200 Subject: layers: Use layout flags to test for push descriptor sets --- layers/core_validation.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'layers/core_validation.cpp') diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 051717f8..b211e812 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -5656,7 +5656,6 @@ static void PreCallRecordCmdPushDescriptorSetKHR(layer_data *device_data, VkComm const VkDescriptorSetLayout desc_set_layout = 0; auto const shared_ds_layout = std::make_shared(&layout_create_info, desc_set_layout); std::unique_ptr new_desc{new cvdescriptorset::DescriptorSet(0, 0, shared_ds_layout, device_data)}; - new_desc->SetPushDescriptor(); cb_state->lastBound[pipelineBindPoint].boundDescriptorSets[set] = new_desc.get(); cb_state->lastBound[pipelineBindPoint].push_descriptors[set] = std::move(new_desc); delete [] bindings; -- cgit v1.2.3