graphics/msl 1.8.4_2 FreeBSD
Shader language based off GLSL
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
97a84ef467- License
- APACHE20
- Categories
- graphics
- Package size
- 2688.0 KiB, 10336.6 KiB installed
Description
The Modular Shader Language (MSL) is a pre-compiled shader language with multiple targets. It is effectively a wrapper around GLSL and relies on external tools to handle the main work of the compilation.
The primary goals are: * Provide an environment more similar to other compiled languages, such as access to a preprocessor and compile-time errors that point to the file. * Allow targeting multiple platforms with different capabilities with the same source. * Relies on official and external tools as much as possible. This makes the language easier to extend and maintain and allows other third party tools, such as optimizers, to be used. * Allows all stages of the pipeline to be specified in the same source. This gives more flexibility in how you organize your source. * Allows for render states and sampler states to be declared in the shader. This gives more flexibility in client applications by allowing these to be set in the shader without hard-coding them in the application. * Pipeline is linked when compiling the shader modules, allowing for earlier checks and easier loading of shaders in the final application.
Install
Binary package:
pkg install msl
From the ports tree:
cd /usr/ports/graphics/msl/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= msl>0:graphics/msl
LIB_DEPENDS= libmsl_client.so:graphics/msl
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.8.4_2 | 1.8.4_2 | 1.6.1_1 | 1.8.1_1 | 1.8.4_2 |
| FreeBSD:14:quarterly | 1.8.4_2 | 1.8.4_2 | n/a | 1.8.1_1 | 1.8.4_2 |
| FreeBSD:15:latest | 1.8.4_2 | 1.8.4_2 | n/a | 1.8.1_1 | 1.8.1_1 |
| FreeBSD:15:quarterly | 1.8.4_2 | 1.8.4_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.8.4_2 | 1.8.4_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
flatc: devel/flatbuffers
Library 1
libboost_thread.so: devel/boost-libs
The full lists below include those, and their dependencies in turn.
Build dependencies 20
Run dependencies 4
No port depends on this one.
Configuration
No options to configure.
- USES
- cmake:testing compiler:c++14-lang python:build
- Service scripts
- none
Files
pkg-plist 34
- bin/mslb-extract
- bin/mslc
- include/MSL/Client/Export.h
- include/MSL/Client/ModuleC.h
- include/MSL/Client/ModuleCpp.h
- include/MSL/Client/TypesC.h
- include/MSL/Client/TypesCpp.h
- include/MSL/Compile/CompiledResult.h
- include/MSL/Compile/Export.h
- include/MSL/Compile/Output.h
- include/MSL/Compile/Target.h
- include/MSL/Compile/TargetGlsl.h
- include/MSL/Compile/TargetMetal.h
- include/MSL/Compile/TargetSpirV.h
- include/MSL/Compile/Types.h
- include/MSL/Config.h
- lib/cmake/MSL/MSLConfig.cmake
- lib/cmake/MSL/MSLConfigVersion.cmake
- lib/cmake/MSL/mslb-extract-targets-.cmake
- lib/cmake/MSL/mslb-extract-targets.cmake
- lib/cmake/MSL/mslc-targets-.cmake
- lib/cmake/MSL/mslc-targets.cmake
- lib/cmake/MSLClient/MSLClientConfig.cmake
- lib/cmake/MSLClient/MSLClientConfigVersion.cmake
- lib/cmake/MSLClient/MSLClientTargets-.cmake
- lib/cmake/MSLClient/MSLClientTargets.cmake
- lib/cmake/MSLCompile/MSLCompileConfig.cmake
- lib/cmake/MSLCompile/MSLCompileConfigVersion.cmake
- lib/cmake/MSLCompile/MSLCompileTargets-.cmake
- lib/cmake/MSLCompile/MSLCompileTargets.cmake
- lib/libmsl_client.so
- lib/libmsl_client.so.1.8.4
- lib/libmsl_compile.so
- lib/libmsl_compile.so.1.8.4
distinfo 5
| File | Size | SHA256 |
|---|---|---|
| akb825-ModularShaderLanguage-v1.8.4_GH0.tar.gz | 257142 | 680137d80b3288240f701119905527b3e7f30a7914d88e5cacb34222ef4f11df |
| akb825-glslang-22683c8_GH0.tar.gz | 4.326132e+06 | 2d28e151efe92a7b71a46c4e14fa0c0aeaffda158bb34ae9085f5b3cbe1b2a61 |
| KhronosGroup-SPIRV-Cross-68413a9_GH0.tar.gz | 2.006055e+06 | 6db0b4beb4ef9bdf7535a02dbac3c91915a3238b5be97dd384d9337049a1d64e |
| akb825-SPIRV-Tools-0b24642_GH0.tar.gz | 3.450746e+06 | 4221cd69081dc0f340c14edc3be3a3fca937cba40be06982d867a74e51221413 |
| KhronosGroup-SPIRV-Headers-04f10f6_GH0.tar.gz | 560997 | f5c5620b1994cd65beaf3011c197bc10533f3b7080a10881082d8ae250cd2adc |