You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Takes count of allocations we want to free up as reference, true is returned if
51
77
// the amount of allocations freed was >= allocationsToFreeUp
52
78
// False is returned if there are more allocations to free up
@@ -147,7 +173,7 @@ class SubAllocatedDescriptorSet : public core::IReferenceCounted
147
173
148
174
inline~SubAllocatedDescriptorSet()
149
175
{
150
-
static_assert(false, "should nullify/destroy/poll the event deferred handler to completion, then as we iterate through `m_allocatableRanges` assert that the allocators have no allocations/everything is free");
176
+
// TODO: should nullify/destroy/poll the event deferred handler to completion, then as we iterate through `m_allocatableRanges` assert that the allocators have no allocations/everything is free
151
177
for (uint32_t i = 0; i < m_allocatableRanges.size(); i++)
152
178
{
153
179
auto& range = m_allocatableRanges[i];
@@ -255,7 +281,7 @@ static_assert(false, "should nullify/destroy/poll the event deferred handler to
255
281
256
282
// Very explicit low level call you'd need to sync and drop descriptors by yourself
257
283
// Returns: the one-past the last `outNullify` write pointer, this allows you to work out how many descriptors were freed
0 commit comments