Open-Source SPIR-V Reader & Writer Written In Java

Written by Michael Larabel in Free Software on 5 March 2015 at 08:18 AM EST. 20 Comments
FREE SOFTWARE
For those interested in the new SPIR-V specification for the intermediate representation used by Vulkan and OpenCL 2.1, a developer has already written an open-source reader and writer of SPIR-V.

Put out yesterday in the public domain via this repository is a SpirReader and SpirWriter for converting to/from this intermediate language.

Perhaps the only disappointment of this implementation so far is that it's written in Java... This SPIR-V reader/writer was mentioned as part of the discussion regarding SPIR-V in GCC, but even thinking about the prospects of using Java along a core path dealing with graphics and GPGPU compute feels painful.

In case you missed the earlier article, LunarG also already has open-sourced a LunarGLASS front-end that consumes SPIR-V IR.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week