aboutsummaryrefslogtreecommitdiff
path: root/layers/descriptor_sets.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-05-05 10:36:24 -0600
committerTobin Ehlis <tobine@google.com>2016-05-05 16:05:18 -0600
commit2a3f9c98ead0f78dd7fb9dc3df5af0d2857f009f (patch)
tree3078db4f7cdeac29b36fa83faf646d0cf31fd2e3 /layers/descriptor_sets.cpp
parente71d51334bdc586ec61f6474a40743063dbc62d2 (diff)
downloadusermoji-2a3f9c98ead0f78dd7fb9dc3df5af0d2857f009f.tar.xz
layers: Remove unused IsUpdated(uint32_t) from DescriptorSet class
All of the functionality that I thought I would need this for is contained in the ValidateDrawState() function.
Diffstat (limited to 'layers/descriptor_sets.cpp')
-rw-r--r--layers/descriptor_sets.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp
index bc55e6db..420b3c86 100644
--- a/layers/descriptor_sets.cpp
+++ b/layers/descriptor_sets.cpp
@@ -293,12 +293,6 @@ cvdescriptorset::DescriptorSet::DescriptorSet(const VkDescriptorSet set, const D
}
}
}
-// For given global_index return bool of whether or not the underlying descriptor has been updated
-bool cvdescriptorset::DescriptorSet::IsUpdated(const uint32_t global_index) const {
- if (global_index >= descriptors_.size())
- return false;
- return descriptors_[global_index]->updated;
-}
// Is this sets underlying layout compatible with passed in layout according to "Pipeline Layout Compatibility" in spec?
bool cvdescriptorset::DescriptorSet::IsCompatible(const DescriptorSetLayout *layout, std::string *error) const {
return layout->IsCompatible(p_layout_, error);