File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ class SubAllocatedDescriptorSet : public core::IReferenceCounted
221
221
writes.push_back (write);
222
222
}
223
223
224
+ // TODO: this goes outside
224
225
m_logicalDevice->updateDescriptorSets (writes, {});
225
226
return unallocatedSize;
226
227
}
@@ -279,6 +280,11 @@ class SubAllocatedDescriptorSet : public core::IReferenceCounted
279
280
280
281
allocator->free_addr (addr[i],1 );
281
282
// 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
282
288
}
283
289
}
284
290
You can’t perform that action at this time.
0 commit comments