Skip to content

AssetRipper/AssetRipper.Disassembly.SpirV

 
 

Repository files navigation

C# SPIR-V disassembler

Overview

This project contains a re-implementation of the spirv-dis tool written in C#. It consists of three projects:

  • CSPVGen, parses the SPIR-V JSON descriptions and produces C# code from there
  • SpirV, the core library providing the code model
  • CSPVDis, the disassembler executable

System requirements

This application is built for .NET 9.0 and should run on any platform supporting that.

Features & limitations

  • Generates C# code from SPIR-V JSON files
  • Pretty-prints names, types, etc.

Build

Build CSPVDis, this will in turn build SpirV and the project will be ready to use.

If you want to re-generate the generate files, build and run CSPVGen.

The source files used for generation come from:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • C# 100.0%