mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-13 17:30:12 +00:00
Previously, the ref type of the a VkDeviceMemory or VkImage resource was calculated as the max of the ref types of the subresources. This reliance on the ordering of the `FrameRefType` enum values is fragile-- in particular, this makes it more difficult to add new `FrameRefType` alternatives. Now, the ref type of composite resources are calculated using `ComposeFrameRefsDisjoint` instead of `max`. Change-Id: Id5db68b6756555cdc6b068d28f1b72cb827f3d1e