yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

yumfix compiler bug lolf8cb9c4d6

master
3 files

files

README.md999 B
slang-llvm-filecheck.cpp5.6 KiB
slang-llvm.cpp35.2 KiB

Slang LLVM/Clang Library

The purpose of this project is to use the LLVM/Clang infrastructure to provide features for the Slang language compiler.

These features may include

Currently only executing code via 'host-callable' mechanism is supported.

How to use

If the slang-llvm shared library/dll is available to Slang, Slang will automatically use LLVM JIT for host-callable compilations.

Limitiations

Building LLVM/Clang

This repo's external/build-llvm.sh script builds llvm with the correct options to be used by slang, please refer to that.