Home
last modified time | relevance | path

Searched refs:binding_to_index_map_ (Results 1 – 2 of 2) sorted by relevance

/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp89 binding_to_index_map_.reserve(binding_count_); in DescriptorSetLayoutDef()
93 binding_to_index_map_[binding_num] = index++; in DescriptorSetLayoutDef()
152 const auto &bi_itr = binding_to_index_map_.find(binding); in GetIndexFromBinding()
153 if (bi_itr != binding_to_index_map_.cend()) return bi_itr->second; in GetIndexFromBinding()
217 const auto &bi_itr = binding_to_index_map_.find(binding); in GetImmutableSamplerPtrFromBinding()
218 if (bi_itr != binding_to_index_map_.end()) { in GetImmutableSamplerPtrFromBinding()
300 if (!binding_to_index_map_.count(binding + 1)) return false; in IsNextBindingConsistent()
301 auto const &bi_itr = binding_to_index_map_.find(binding); in IsNextBindingConsistent()
302 if (bi_itr != binding_to_index_map_.end()) { in IsNextBindingConsistent()
303 const auto &next_bi_itr = binding_to_index_map_.find(binding + 1); in IsNextBindingConsistent()
[all …]
Ddescriptor_sets.h103 …bool HasBinding(const uint32_t binding) const { return binding_to_index_map_.count(binding) > 0; }; in HasBinding()
175 std::unordered_map<uint32_t, uint32_t> binding_to_index_map_; variable