BSD Ports

devel/librashader 0.6.2_3 DragonFly

RetroArch shaders for all

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3, MIT, MPL20
Categories
devel
Package size
42831.7 KiB, 107022.5 KiB installed

Description

librashader is a preprocessor, compiler and runtime for RetroArch 'slang' shaders, rewritten in pure Rust. It supports all modern graphics runtimes, including wgpu, Vulkan, OpenGL 3.3+ and 4.6 (with DSA), Direct3D 11, Direct3D 12, and Metal.

librashader implements the entire RetroArch shader pipeline and is highly compatible with existing shaders, e.g. the slang-shaders from libretro.

In the other systems

SystemPortVersion
DragonFlydevel/librashader0.6.2_3
FreeBSDdevel/librashader0.12.1
HardenedBSDdevel/librashader0.12.0_2
GhostBSDdevel/librashader0.12.0_2

Install

Binary package:

pkg install librashader

From DPorts:

cd /usr/dports/devel/librashader && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

The calling code has to define the following preprocessor constants in order to
make the requested runtimes accessable:

    LIBRA_RUNTIME_OPENGL  or
    LIBRA_RUNTIME_VULKAN