diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-08-21 10:33:07 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-08-31 14:11:02 -0600 |
| commit | 19d62225d4fa54d17fe11e526847140a7086d9e2 (patch) | |
| tree | 16807957c5bc57bc434894fa01abe4ef4e491d3e /layers/descriptor_sets.cpp | |
| parent | c8b5a1ab9f279adbc35045c23b30f19baf020645 (diff) | |
| download | usermoji-19d62225d4fa54d17fe11e526847140a7086d9e2.tar.xz | |
layers: Account for push descriptor sets in CV
Change-Id: I1095edce0f26e2a4ced6fa301143622dc5cd0afd
Diffstat (limited to 'layers/descriptor_sets.cpp')
| -rw-r--r-- | layers/descriptor_sets.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp index 693b3ae4..cf527cd4 100644 --- a/layers/descriptor_sets.cpp +++ b/layers/descriptor_sets.cpp @@ -315,13 +315,14 @@ cvdescriptorset::AllocateDescriptorSetsData::AllocateDescriptorSetsData(uint32_t : required_descriptors_by_type{}, layout_nodes(count, nullptr) {} cvdescriptorset::DescriptorSet::DescriptorSet(const VkDescriptorSet set, const VkDescriptorPool pool, - const std::shared_ptr<DescriptorSetLayout const> &layout, const layer_data *dev_data) + const std::shared_ptr<DescriptorSetLayout const> &layout, const layer_data *dev_data) : some_update_(false), set_(set), pool_state_(nullptr), p_layout_(layout), device_data_(dev_data), - limits_(GetPhysDevProperties(dev_data)->properties.limits) { + limits_(GetPhysDevProperties(dev_data)->properties.limits), + push_descriptor_(false) { pool_state_ = GetDescriptorPoolState(dev_data, pool); // Foreach binding, create default descriptors of given type for (uint32_t i = 0; i < p_layout_->GetBindingCount(); ++i) { |
