spirv-llvm-translator

Translates between SPIR-V and LLVM IR bidirectionally

brewmacoslinux
Try with needOr install directly
Source

About

Tool and a library for bi-directional translation between SPIR-V and LLVM IR

Commands

llvm-spirv

Examples

Convert SPIR-V binary to LLVM IR$ llvm-spirv -r input.spv -o output.ll
Translate LLVM IR to SPIR-V binary$ llvm-spirv input.ll -o output.spv
Display SPIR-V disassembly format$ llvm-spirv -to-text input.spv -o output.txt