mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
7edd6c0ab5
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