Skip to content

Commit e1282c7

Browse files
committed
Remove out old bindings
1 parent 347ff63 commit e1282c7

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

include/nbl/video/alloc/SubAllocatedDescriptorSet.h

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -72,27 +72,6 @@ class SubAllocatedDescriptorSet : public core::IReferenceCounted
7272
m_allocatableRanges.insert(m_allocatableRanges.begin() + binding.data, range);
7373
}
7474
}
75-
76-
// for (auto& binding : bindings)
77-
// {
78-
// SubAllocDescriptorSetRange range;
79-
// range.binding = binding;
80-
// range.reservedSize = 0;
81-
// // Only bindings with these flags will be allocatable
82-
// if (binding.createFlags.hasFlags(core::bitflag(IGPUDescriptorSetLayout::SBinding::E_CREATE_FLAGS::ECF_UPDATE_AFTER_BIND_BIT)
83-
// | IGPUDescriptorSetLayout::SBinding::E_CREATE_FLAGS::ECF_UPDATE_UNUSED_WHILE_PENDING_BIT
84-
// | IGPUDescriptorSetLayout::SBinding::E_CREATE_FLAGS::ECF_PARTIALLY_BOUND_BIT))
85-
// {
86-
// range.reservedSize = AddressAllocator::reserved_size(maxAllocatableAlignment, static_cast<size_type>(binding.count), args...);
87-
// range.reservedAllocator = std::shared_ptr<ReservedAllocator>(new ReservedAllocator());
88-
// range.addressAllocator = std::shared_ptr<AddressAllocator>(new AddressAllocator(
89-
// range.reservedAllocator->allocate(range.reservedSize, _NBL_SIMD_ALIGNMENT),
90-
// static_cast<size_type>(0), 0u, maxAllocatableAlignment, static_cast<size_type>(binding.count), std::forward<Args>(args)...
91-
// ));
92-
// }
93-
// m_allocatableRanges.push_back(range);
94-
// }
95-
9675
}
9776

9877
~SubAllocatedDescriptorSet()

0 commit comments

Comments
 (0)