Post

Replies

Boosts

Views

Activity

Comment on On Xcode13.0,my Metal-app successfully run on independent or in Xcode-Instrument, but crash on debugging,why?
i did a test. download OfficialExample run xcrun --sdk iphoneos metal -miphoneos-version-min=11.0 -gline-tables-only -std=ios-metal2.0 -c -frecord-sources my_mac_path/UsingARenderPipelineToRenderPrimitives/Renderer/AAPLShaders.metal -o destAirPath/AAPLShaders.air run xcrun --sdk iphoneos metal -frecord-sources destAirPath/AAPLShaders.air -o destMetalLib/AAPLShaders.metallib add the metallib to project, and load the library with newLibraryWithFile, reference Offical Article if i enable metal gpu frame capture, it must be crash while execute newFunctionWIthName on xcode 13.0 if remove -gline-tables-only and -frecord-sources, regenerate metallib, run, it's ok.
Feb ’22
Comment on Capture GPU Frame fail
Hello, How did you finally solve the crash after enable GPU Frame Capture. I'm currently having the same problem
Replies
Boosts
Views
Activity
Feb ’22
Comment on Capture GPU Frame fail
i can't solve the issue even if i disconnect/reboot/reconnect iphone
Replies
Boosts
Views
Activity
Feb ’22
Comment on On Xcode13.0,my Metal-app successfully run on independent or in Xcode-Instrument, but crash on debugging,why?
I have submit feedback to developer tool, feedback id is  FB9921296 MTLLibraryDataWithArchive::readFunctionSourceArchiveMetadata is real crash point.
Replies
Boosts
Views
Activity
Feb ’22
Comment on On Xcode13.0,my Metal-app successfully run on independent or in Xcode-Instrument, but crash on debugging,why?
i did a test. download OfficialExample run xcrun --sdk iphoneos metal -miphoneos-version-min=11.0 -gline-tables-only -std=ios-metal2.0 -c -frecord-sources my_mac_path/UsingARenderPipelineToRenderPrimitives/Renderer/AAPLShaders.metal -o destAirPath/AAPLShaders.air run xcrun --sdk iphoneos metal -frecord-sources destAirPath/AAPLShaders.air -o destMetalLib/AAPLShaders.metallib add the metallib to project, and load the library with newLibraryWithFile, reference Offical Article if i enable metal gpu frame capture, it must be crash while execute newFunctionWIthName on xcode 13.0 if remove -gline-tables-only and -frecord-sources, regenerate metallib, run, it's ok.
Replies
Boosts
Views
Activity
Feb ’22