mtl-info-0.2.0 is not a library.
Metal Info (mtl-info
)
A command line tool for decoding and processing Apple's Metal Library files metallib
.
Installing
mtl-info
is distributed with cargo. If Rust and Cargo are installed then follow the commands below to get it installed on your system.
# Check build output. If $PATH is setup correctly you can now run
Usage
Listing Entries
For listing the names of every Metal fragment or vertex shader in the Metal library.
Processing Shader Code
Metal library files contain LLVM bitcode which can be disassembled into a more human-readable assembly format.
# Find entry by name
# Find entry by index