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
@@ -4880,6 +4887,7 @@ if (worstSize>minScratchSize)
4880
4887
item.second.value = {};
4881
4888
continue;
4882
4889
}
4890
+
// TODO: we could just hotswap the `pGpuObj` in staging and write it to Descriptor Set here instead
4883
4891
// The BLASes don't need to do this, because no-one checks for them as dependents and we can substitute the `item.first` in the staging cache right away
4884
4892
// For TLASes we need to write the compacted TLAS and not the intermediate build to the Cache
4885
4893
ifconstexpr (IsTLAS)
@@ -4914,6 +4922,7 @@ if (worstSize>minScratchSize)
4914
4922
mergeCache.operator()<ICPURenderpass>();
4915
4923
mergeCache.operator()<ICPUGraphicsPipeline>();
4916
4924
mergeCache.operator()<ICPUDescriptorSet>();
4925
+
// TODO: should be done during `mergeCache.operator()<ICPUDescriptorSet>`
4917
4926
// deal with rewriting the TLASes with compacted ones
4918
4927
{
4919
4928
// not strictly necessary, just provoking refcounting bugs right away if they exist
0 commit comments