BSD Ports

graphics/glslang 1.4.357.0nb1 NetBSD

Front end for GLSL/ESSL, HLSL (partial) and SPIR-V generator

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
15df19036a
License
modified-bsd AND 2-clause-bsd AND mit AND apache-2.0 AND gnu-gpl-v3
Categories
graphics
Package size
22298.4 KiB, 197034.6 KiB installed

Description

An OpenGL GLSL and OpenGL|ES GLSL (ESSL) front-end for reference validation and translation of GLSL/ESSL into an internal abstract syntax tree (AST).

An HLSL front-end for translation of an approximation of HLSL to glslang's AST form.

Translates glslang's AST to the Khronos-specified SPIR-V intermediate language.

An API for getting reflection information from the AST, reflection types/variables/etc. from the HLL source (not the SPIR-V).

glslang is command-line tool for accessing the functionality above.

In the other systems

SystemPortVersion
NetBSDgraphics/glslang1.4.357.0nb1
FreeBSDgraphics/glslang16.6.0_1
OpenBSDgraphics/glslang16.5.0
DragonFlygraphics/glslang15.2.0
MidnightBSDgraphics/glslang16.2.0_1
HardenedBSDgraphics/glslang16.6.0
GhostBSDgraphics/glslang16.6.0

Install

Binary package:

pkgin install glslang

From pkgsrc:

cd /usr/pkgsrc/graphics/glslang && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.4.357.0nb1
NetBSD 10.1 aarch641.4.350.0
SmartOS / illumos x86_641.4.363.0
macOS 15 arm641.4.363.0

Dependencies

Run dependencies 1

Commit history 4

DateCommitCreditsLog message
15df19036a kikadf glslang: update to vulkan-sdk-1.4.363.0
No changelog
d101a9390b ktnb Slang is a shading language that makes it easier to build and maintain large shader codebases in a modular and extensible fashion, while also maintaining the highest possible performance on modern GPUs and graphics APIs. Slang is based on years of collaboration between researchers at NVIDIA, Carnegie Mellon University, Stanford, MIT, UCSD and the University of Washington.
The Slang compiler can generate code for a wide variety of targets: D3D12, Vulkan, Metal, D3D11, CUDA, and even generate code to run on a CPU. For textual targets, such as Metal Shading Language (MSL) and CUDA, Slang produces readable code that preserves original identifier names, as well as the type and call structure, making it easier to debug.
4b2ebfcf3e kikadf glslang: matching spirv-tools version
397e29a1ea kikadf glslang: update to vulkan-sdk-1.4.357.0 No changelog