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.cpp91 binding_to_index_map_.reserve(binding_count_); in DescriptorSetLayoutDef()
95 binding_to_index_map_[binding_num] = index++; in DescriptorSetLayoutDef()
150 const auto &bi_itr = binding_to_index_map_.find(binding); in GetIndexFromBinding()
151 if (bi_itr != binding_to_index_map_.cend()) return bi_itr->second; in GetIndexFromBinding()
199 const auto &bi_itr = binding_to_index_map_.find(binding); in GetImmutableSamplerPtrFromBinding()
200 if (bi_itr != binding_to_index_map_.end()) { in GetImmutableSamplerPtrFromBinding()
288 if (!binding_to_index_map_.count(binding + 1)) return false; in IsNextBindingConsistent()
289 auto const &bi_itr = binding_to_index_map_.find(binding); in IsNextBindingConsistent()
290 if (bi_itr != binding_to_index_map_.end()) { in IsNextBindingConsistent()
291 const auto &next_bi_itr = binding_to_index_map_.find(binding + 1); in IsNextBindingConsistent()
[all …]
Ddescriptor_sets.h102 …bool HasBinding(const uint32_t binding) const { return binding_to_index_map_.count(binding) > 0; }; in HasBinding()
165 std::unordered_map<uint32_t, uint32_t> binding_to_index_map_; variable