Philip-Trettner / SpirvNet

SPIR-V generator for .NET IL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpirvNet

SPIR-V generator for .NET IL

Goals

  • 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

Technologies used

About SPIR-V

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:

About .NET CIL

.NET IL is based on a stack machine.

Resources:

Current Status

  • 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

About

SPIR-V generator for .NET IL

License:MIT License


Languages

Language:C# 100.0%