mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-21 17:31:17 +00:00
Add the ID for the resource underneath image views
* Without this we don't properly cache the references for images, only for views.
This commit is contained in:
@@ -2148,6 +2148,7 @@ public:
|
||||
|
||||
void AddImgFrameRef(std::set<ResourceId> &ids, VkResourceRecord *view, FrameRefType refType)
|
||||
{
|
||||
ids.insert(view->baseResource);
|
||||
AddBindFrameRef(ids, view->GetResourceID(), eFrameRef_Read,
|
||||
view->resInfo && view->resInfo->IsSparse());
|
||||
if(view->baseResourceMem != ResourceId())
|
||||
|
||||
Reference in New Issue
Block a user