mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
4a6235d9b7
This ensures that ImgRefs/MemRefs exist for images/memory with initial contents. Previously if the resource was never accessed, then no information was saved about the resource references; this lack of reference info is pesimistically interpreted at replay as requiring complete reset. This change now explicitly inserts empty ImgRefs/MemRefs for each resource when preparing the initial contents. Change-Id: I51930640cd22bc59b3436c920e29d9b670bd35cc