aboutsummaryrefslogtreecommitdiff
path: root/layers/descriptor_sets.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-05-31 16:34:40 +1200
committerTobin Ehlis <tobine@google.com>2016-05-31 08:49:43 -0600
commit413eae5c4dc394f99f4b89e91346ce77fe74bc11 (patch)
treeed20255ff6172de53653789c4992c9aba71e0e57 /layers/descriptor_sets.cpp
parent3abf44e4873001e85d24c14c0d0ba4aa98714016 (diff)
downloadusermoji-413eae5c4dc394f99f4b89e91346ce77fe74bc11.tar.xz
layers: Remove old hacks for imprecise descriptor tracking for compute
We do it properly now. Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'layers/descriptor_sets.cpp')
-rw-r--r--layers/descriptor_sets.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp
index 5fc1de3f..b0e16e82 100644
--- a/layers/descriptor_sets.cpp
+++ b/layers/descriptor_sets.cpp
@@ -451,14 +451,6 @@ uint32_t cvdescriptorset::DescriptorSet::GetStorageUpdates(const std::unordered_
}
return num_updates;
}
-// This is a special case for compute shaders that should eventually be removed once we have proper valid binding info for compute
-// case
-uint32_t cvdescriptorset::DescriptorSet::GetAllStorageUpdates(std::unordered_set<VkBuffer> *buffer_set,
- std::unordered_set<VkImageView> *image_set) const {
- std::unordered_set<uint32_t> binding_set;
- p_layout_->FillBindingSet(&binding_set);
- return GetStorageUpdates(binding_set, buffer_set, image_set);
-}
// Set is being deleted or updates so invalidate all bound cmd buffers
void cvdescriptorset::DescriptorSet::InvalidateBoundCmdBuffers() {
for (auto cb_node : bound_cmd_buffers_) {
@@ -1131,4 +1123,4 @@ bool cvdescriptorset::DescriptorSet::VerifyCopyUpdateContents(const VkCopyDescri
}
// All checks passed so update contents are good
return true;
-} \ No newline at end of file
+}