summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/benchmark.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 77eb00c64..1600d1014 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -39,9 +39,13 @@ jobs:
run: |
cmake --preset default --fresh -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM -DCMAKE_COMPILE_WARNING_AS_ERROR=false
cmake --workflow --preset release
+ - uses: actions/checkout@v3
+ with:
+ repository: 'shader-slang/MDL-SDK'
+ path: 'external/MDL-SDK'
- name: Run benchmark
run: |
cd tools/benchmark
+ cp ../../external/MDL-SDK/examples/mdl_sdk/dxr/content/slangified/*.slang .
pip install prettytable argparse
- Copy-Item -Path C:\slang-benchmarks -Destination . -Recurse
- python compile.py --samples 16 --target dxil --ci
+ python compile.py --samples 1 --target dxil