Khrono's SPIR-V IR <https://www.khronos.org/spir> as used for OpenCL >= 2.1 and Vulkan. - SPIR-V stream parser for introspection! - SPIR-V Khronos 'tools' native binding? - GLSL compiler producing SPIR-V?
(In reply to comment #0) > Khrono's SPIR-V IR > <https://www.khronos.org/spir> <https://www.khronos.org/registry/spir-v/>
Here is some code which could be used to starts with : https://bitbucket.org/Eclesia/unlicense/src/tip/compiler/compiler-spir/src/main/java/un/language/spir/?at=default it's public domain, copy what you need ;)