yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
42dc521f7
master
1name : MDL Benchmark 2 3on : 4pull_request : 5branches : [ master ] 6paths-ignore : 7- "docs/**" 8- "LICENSES/**" 9- "LICENSE" 10- "CONTRIBUTING.md" 11- "README.md" 12concurrency : 13group : ${{ github.workflow }}-${{ github.ref }} 14cancel-in-progress : true 15 16jobs : 17build : 18runs-on : [ Windows , self-hosted ] 19steps : 20- uses : actions/checkout@v4 21with : 22submodules : "recursive" 23fetch-depth : "0" 24- name : Common setup 25uses : ./.github/actions/common-setup 26with : 27os : windows 28compiler : cl 29platform : x86_64 30config : release 31build-llvm : true 32- name : Build Slang 33run : | 34cmake --preset default --fresh -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM -DCMAKE_COMPILE_WARNING_AS_ERROR=false 35cmake --workflow --preset release 36- uses : actions/checkout@v4 37with : 38repository : "shader-slang/MDL-SDK" 39path : "external/MDL-SDK" 40sparse-checkout : | 41./examples/mdl_sdk/dxr/content/slangified 42- name : Run benchmark 43run : | 44 cd tools/benchmark 45 cp ../../external/MDL-SDK/examples/mdl_sdk/dxr/content/slangified/*.slang . 46 pip install prettytable argparse 47 python compile.py --samples 1 --target dxil