spirv-cross

Reflection and disassembly tool for SPIR-V binary shader code

brewmacoslinux
Try with needOr install directly
Source

About

Performing reflection and disassembling SPIR-V

Commands

spirv-cross

Examples

Disassemble a SPIR-V binary to human-readable format$ spirv-cross --output output.txt shader.spv
Convert SPIR-V to GLSL shader code$ spirv-cross --output shader.glsl --language glsl shader.spv
Reflect shader metadata and print to stdout$ spirv-cross shader.spv