diff options
| author | Józef Kucia <joseph.kucia@gmail.com> | 2017-09-10 11:24:08 +0200 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2017-09-13 12:27:13 -0600 |
| commit | fd558f59041145754a9509323622ea7047a2286c (patch) | |
| tree | c2f8d17b4ab95a5d43e7962ac8c4ebb14e5aa5a5 /layers/core_validation.cpp | |
| parent | 071d290969f0544120f079f2ad057e2b9580c3b1 (diff) | |
| download | usermoji-fd558f59041145754a9509323622ea7047a2286c.tar.xz | |
layers: Use layout flags to test for push descriptor sets
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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<cvdescriptorset::DescriptorSetLayout>(&layout_create_info, desc_set_layout); std::unique_ptr<cvdescriptorset::DescriptorSet> 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; |
