BSD Ports

graphics/spirv-cross 1.4.309.0 DragonFly

Tool for parsing and converting SPIR-V to other shader languages

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
graphics
Package size
1961.0 KiB, 12986.5 KiB installed

Description

SPIRV-Cross is a tool designed for parsing and converting SPIR-V to other shader languages.

Features: * Convert SPIR-V to readable, usable and efficient GLSL * Convert SPIR-V to readable, usable and efficient Metal Shading Language (MSL) * Convert SPIR-V to readable, usable and efficient HLSL * Convert SPIR-V to a JSON reflection format * Convert SPIR-V to debuggable C++ [DEPRECATED] * Reflection API to simplify the creation of Vulkan pipeline layouts * Reflection API to modify and tweak OpDecorations * Supports "all" of vertex, fragment, tessellation, geometry and compute shaders

SPIRV-Cross tries hard to emit readable and clean output from the SPIR-V. The goal is to emit GLSL or MSL that looks like it was written by a human and not awkward IR/assembly-like code.

In the other systems

SystemPortVersion
DragonFlygraphics/spirv-cross1.4.309.0
FreeBSDgraphics/spirv-cross1.4.357.0
OpenBSDgraphics/spirv-cross20260601
HardenedBSDgraphics/spirv-cross1.4.357.0
GhostBSDgraphics/spirv-cross1.4.357.0

Install

Binary package:

pkg install spirv-cross

From DPorts:

cd /usr/dports/graphics/spirv-cross && make install clean

Dependencies

No port depends on this one.