SPIR-V generator for .NET IL
- Decode, Verify, Encode SPIR-V files
- Convert (suitable) .NET IL to SPIR-V
- Write Shaders and Kernels in .NET/C#
- Debug Shaders and Kernels in .NET/C# (CPU fallback)
- SPIR-V Interpreter
- Use Gpu.For in addition to Parallel.For
SPIR-V is a new binary intermediate language for representing graphical-shader stages and compute kernels for multiple Khronos APIs.
SPIR-V is in SSA form.
Resources:
- Provisional SPIR-V Specification (PDF)
- Provisional SPIR-V Specification (HTML)
- SPIR-V Go Encoder/Verifier/Decoder
- GlslangValidator with SPIR-V output
- LunarGLASS SPIR-V Front-End
.NET IL is based on a stack machine.
Resources:
- working OpCode serialization and Module Encode/Decode
- work-in-progress .NET IL analysis
- work-in-progress SPIR-V module verification and validation
- work-in-progress SPIR-V function execution
- first working simple function conversions