mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Skip subresources in mip tail when marking referenced
This commit is contained in:
@@ -610,6 +610,9 @@ void VulkanResourceManager::MarkSparseMapReferenced(const ResourceInfo *sparse)
|
||||
const Sparse::PageRangeMapping &mapping =
|
||||
s < numSubs ? table.getSubresource(s) : table.getMipTail().mappings[s - numSubs];
|
||||
|
||||
if(s < numSubs && table.isSubresourceInMipTail(s))
|
||||
continue;
|
||||
|
||||
if(mapping.hasSingleMapping())
|
||||
{
|
||||
MarkMemoryFrameReferenced(
|
||||
|
||||
Reference in New Issue
Block a user