https://github.com/anteru/csspv
C# SPIR-V disassembler
https://github.com/anteru/csspv
csharp disassembler dotnet-core spir-v
Last synced: about 2 months ago
JSON representation
C# SPIR-V disassembler
- Host: GitHub
- URL: https://github.com/anteru/csspv
- Owner: Anteru
- License: bsd-2-clause
- Created: 2018-05-19T16:27:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-01T12:36:40.000Z (over 3 years ago)
- Last Synced: 2025-03-25T14:44:52.951Z (2 months ago)
- Topics: csharp, disassembler, dotnet-core, spir-v
- Language: C#
- Homepage: https://shelter13.net/projects/csspv/
- Size: 287 KB
- Stars: 17
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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 executableSystem requirements
-------------------This application is built for .NET 5.0 and should run on any platform supporting that.
It requires C# 7.3 due to `System.Enum` constraints. Please make sure you're using the latest .NET Core SDK to have access to this feature.
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`.