Xcode Version 14.1 (14B47) + iPhone12ProMax 16.2beta still do not get mtlp-json by metal-source (with or without air-lipo), below is the command:
xcrun metal-source -flatbuffers=json binaryArchive_1007_iOS16_.metallib -o ./descriptors3.mtlp-json
xcrun air-lipo binaryArchive_1007_iOS16_.metallib -thin applegpu_g13p -output applegpu_g13p.metallib
xcrun metal-source -flatbuffers=json applegpu_g13p.metallib -o ./descriptors3.mtlp-json
both of them got the same result(three binary, no json files):
descriptors3.mtlp-json
~metallib
~~98C2A0BE-8A64-3CD2-B587-B427709ACDA7.metallib
~object
~~0-0.metallib
~~1-0.metallib
Topic:
Graphics & Games
SubTopic:
General
Tags: