Skip to content

Commit d608e78

Browse files
committed
Add PR comments
1 parent 41b9a5b commit d608e78

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/nbl/video/alloc/SubAllocatedDescriptorSet.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ class SubAllocatedDescriptorSet : public core::IReferenceCounted
221221
writes.push_back(write);
222222
}
223223

224+
// TODO: this goes outside
224225
m_logicalDevice->updateDescriptorSets(writes, {});
225226
return unallocatedSize;
226227
}
@@ -279,6 +280,11 @@ class SubAllocatedDescriptorSet : public core::IReferenceCounted
279280

280281
allocator->free_addr(addr[i],1);
281282
// TODO: should also write something to the descriptor sets
283+
// basically if nullDescriptor device feature is enabled, you would
284+
// indeed write to the DS, else you'd just drop the refcounted references
285+
//
286+
// this needs to be done as a IGPUDescriptorSet::nullify(const uint32_t binding,
287+
// std::span<uint32_t> indices) function + a virtual nullify_impl
282288
}
283289
}
284290

0 commit comments

Comments
 (0)