BSD Ports

graphics/mojoshader 0.0.20220415nb9 NetBSD

Library to move calls to Direct3D shaders to OpenGL

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7b5a3977f9
License
zlib
Categories
graphics
Package size
416.8 KiB, 1701.0 KiB installed

Description

MojoShader is a library to work with Direct3D shaders on alternate 3D APIs and non-Windows platforms. The primary motivation is moving shaders to OpenGL languages on the fly. The developer deals with "profiles" that represent various target languages, such as GLSL or ARB_*_program.

This allows a developer to manage one set of shaders, presumably written in Direct3D HLSL, and use them across multiple rendering backends. This also means that the developer only has to worry about one (offline) compiler to manage program complexity, while MojoShader itself deals with the reduced complexity of the bytecode at runtime.

MojoShader provides both a simple API to convert bytecode to various profiles, and (optionally) basic glue to rendering APIs to abstract the management of the shaders at runtime.

Install

Binary package:

pkgin install mojoshader

From pkgsrc:

cd /usr/pkgsrc/graphics/mojoshader && 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_640.0.20220415nb9
NetBSD 10.1 aarch640.0.20220415nb7
SmartOS / illumos x86_640.0.20220415nb11
macOS 15 arm64-

Dependencies

Run dependencies 1
Required by 2

Commit history 4

DateCommitCreditsLog message
7b5a3977f9 wiz *: recursive bump for pcre2 10.49
204ac6b2b7 tnn *: revbump for pcre2 symbol versioning change
5e4aea17e2 wiz *: recursive bump for pcre2 10.48
6e59681be8 wiz *: recursive bump for libmpg123 dependency in lame