graphics/mojoshader - The NetBSD Packages Collection

Library to move calls to Direct3D shaders to OpenGL

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.

Build dependencies

pkgtools/x11-links x11/xorgproto x11/xcb-proto x11/xcb-proto pkgtools/mktools devel/cmake pkgtools/cwrappers

Runtime dependencies

graphics/vulkan-headers devel/SDL2 graphics/vulkan-headers devel/SDL2

Binary packages

OSArchitectureVersion
NetBSD 10.0earmv4mojoshader-0.0.20220415nb3.tgz
NetBSD 10.0earmv6hfmojoshader-0.0.20220415nb3.tgz
NetBSD 10.0earmv6hfmojoshader-0.0.20220415nb5.tgz
NetBSD 10.0earmv7hfmojoshader-0.0.20220415nb5.tgz
NetBSD 10.0earmv7hfmojoshader-0.0.20220415nb3.tgz
NetBSD 10.0i386mojoshader-0.0.20220415nb5.tgz
NetBSD 10.0i386mojoshader-0.0.20220415nb3.tgz
NetBSD 10.0i386mojoshader-0.0.20220415nb4.tgz
NetBSD 10.0i386mojoshader-0.0.20220415nb5.tgz
NetBSD 10.0x86_64mojoshader-0.0.20220415nb5.tgz
NetBSD 10.0x86_64mojoshader-0.0.20220415nb3.tgz
NetBSD 10.0x86_64mojoshader-0.0.20220415nb4.tgz
NetBSD 10.0x86_64mojoshader-0.0.20220415nb5.tgz
NetBSD 9.0earmv6hfmojoshader-0.0.20220415nb5.tgz
NetBSD 9.0earmv6hfmojoshader-0.0.20220415nb3.tgz
NetBSD 9.0earmv7hfmojoshader-0.0.20220415nb5.tgz
NetBSD 9.0earmv7hfmojoshader-0.0.20220415nb3.tgz
NetBSD 9.0i386mojoshader-0.0.20220415nb5.tgz
NetBSD 9.0i386mojoshader-0.0.20220415nb3.tgz
NetBSD 9.0i386mojoshader-0.0.20220415nb4.tgz
NetBSD 9.0i386mojoshader-0.0.20220415nb5.tgz
NetBSD 9.0powerpcmojoshader-0.0.20220415nb3.tgz
NetBSD 9.0powerpcmojoshader-0.0.20220415nb3.tgz
NetBSD 9.0x86_64mojoshader-0.0.20220415nb5.tgz
NetBSD 9.0x86_64mojoshader-0.0.20220415nb3.tgz
NetBSD 9.0x86_64mojoshader-0.0.20220415nb4.tgz
NetBSD 9.0x86_64mojoshader-0.0.20220415nb5.tgz
NetBSD 9.3x86_64mojoshader-0.0.20220415nb5.tgz
NetBSD 9.3x86_64mojoshader-0.0.20220415nb5.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.