aboutsummaryrefslogtreecommitdiff
path: root/layers/descriptor_sets.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-05-05 10:30:46 -0600
committerTobin Ehlis <tobine@google.com>2016-05-05 16:05:18 -0600
commite71d51334bdc586ec61f6474a40743063dbc62d2 (patch)
tree64747b98e1b5a667ab0f36a4028bea087796bf82 /layers/descriptor_sets.cpp
parentdac6ce3ddb395eeb53756a56dac5b203218b2828 (diff)
downloadusermoji-e71d51334bdc586ec61f6474a40743063dbc62d2.tar.xz
layers: Removed unused full_update_ from DescriptorSet class
I originally added this thinking it would be useful but currently unused and not correctly tracked so just killing it.
Diffstat (limited to 'layers/descriptor_sets.cpp')
-rw-r--r--layers/descriptor_sets.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp
index 0f80c5f2..bc55e6db 100644
--- a/layers/descriptor_sets.cpp
+++ b/layers/descriptor_sets.cpp
@@ -238,7 +238,7 @@ cvdescriptorset::DescriptorSet::DescriptorSet(const VkDescriptorSet set, const D
const std::unordered_map<VkImage, IMAGE_NODE> *image_map,
const std::unordered_map<VkImage, VkSwapchainKHR> *image_to_swapchain_map,
const std::unordered_map<VkSwapchainKHR, SWAPCHAIN_NODE *> *swapchain_map)
- : some_update_(false), full_update_(false), set_(set), p_layout_(layout), buffer_map_(buffer_map), memory_map_(memory_map),
+ : some_update_(false), set_(set), p_layout_(layout), buffer_map_(buffer_map), memory_map_(memory_map),
buffer_view_map_(buffer_view_map), sampler_map_(sampler_map), image_view_map_(image_view_map), image_map_(image_map),
image_to_swapchain_map_(image_to_swapchain_map), swapchain_map_(swapchain_map) {
// Foreach binding, create default descriptors of given type
@@ -505,7 +505,6 @@ bool cvdescriptorset::DescriptorSet::WriteUpdate(debug_report_data *report_data,
}
if (num_updates != 0) {
some_update_ = true;
- full_update_ = (descriptors_.size() == num_updates);
}
return true;
}
@@ -575,7 +574,6 @@ bool cvdescriptorset::DescriptorSet::CopyUpdate(debug_report_data *report_data,
}
if (num_updates != 0) {
some_update_ = true;
- full_update_ = (descriptors_.size() == num_updates);
}
return true;
}