I have a related problem: I can not capture a Metal frame at all in Xcode 15.1 and 15.2. The troubles I observe are a bit different than in the examples here (I have posted a detailed question on Stackoverflow (https://stackoverflow.com/questions/77829206/apple-metal-frame-capture-does-not-work-in-xcode-15). I am using no SwiftUI and I still see the same problem.
Post
Replies
Boosts
Views
Activity
Same here, iPad and iOS 17.2 and Xcode 15.1 and 15.2. And I have the same problem with the .gputrace.
I have the exact situation you describe.
I have the exact problem you mention.
From these new CGPath functionalities that were added in iOS 16.0, I have tested componentsSeparated and intersection. And in my experience they do not work.
In my testing with somewhat more complex paths (self-intersecting paths with 5 segments or so), they give the wrong result for every (!) example that I randomly constructed. Has anyone else made a similar observation?