SPIR-V Tools project provides an API & commands for processing SPIR-V modules.
The project includes an assembler, binary module parser, disassembler, validator, and optimizer for SPIR-V.
Except for the optimizer, all are based on a common static library. The library contains all of the implementation details, and is used in the standalone tools whilst also enabling integration into other code bases directly.
The optimizer implementation resides in its own library, which depends on the core library.
The interfaces have stabilized. We don't anticipate making a breaking change for existing features.
SPIR-V is defined by the Khronos Group Inc. See the SPIR-V Registry for the SPIR-V specification, headers, and XML registry.
Details for spirv-tools
Package name
spirv-tools
License
unset
Last updated
8 March 2020 - latest/stable
8 March 2020 - latest/beta
This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Enable snapd
On Debian 9 (Stretch) and newer, snap can be installed directly from the command line:
sudo apt update
sudo apt install snapd
After this, install the snapd snap in order to get the latest snapd:
sudo snap install snapd
Install spirv-tools
To install spirv-tools, simply use the following command: