Skip to content

Philip-Trettner/SpirvNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages