https://github.com/khronosgroup/spirv-visualizer
Client side only Javascript to visualize a SPIR-V Module binary
https://github.com/khronosgroup/spirv-visualizer
graphics spir-v spirv
Last synced: about 1 year ago
JSON representation
Client side only Javascript to visualize a SPIR-V Module binary
- Host: GitHub
- URL: https://github.com/khronosgroup/spirv-visualizer
- Owner: KhronosGroup
- License: apache-2.0
- Created: 2020-12-03T21:14:05.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-12T12:17:43.000Z (about 1 year ago)
- Last Synced: 2025-05-07T10:17:56.701Z (about 1 year ago)
- Topics: graphics, spir-v, spirv
- Language: JavaScript
- Homepage: https://www.khronos.org/spirv/visualizer/
- Size: 402 KB
- Stars: 35
- Watchers: 22
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# SPIR-V Visualizer
> Live link: https://www.khronos.org/spirv/visualizer/
> Tested on Chrome and Firefox
Client side only Javascript to visualize a SPIR-V Module binary.
This project is aimed to be a tool for people learning to read disassemble SPIR-V. The tool can also be described as a glorified version of `spirv-dis`.
Currently assumes a valid SPIR-V Module is used with it.
## How to run offline
1. `git clone`
2. `git submodule init`
3. `git submodule update`
4. Use favorite method to start server in root directory
## How it works
The visualizer uses the SPIR-V Grammar JSON files to parse out all the instructions.
There is a 2 pass system, the first pass tracks all the instructions, the second pass handles all the HTML/CSS changes.
This project makes use of the d3.js library to handle all the data driven UI diagrams.