summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorvenkataram-nv <vedavamadath@nvidia.com>2024-08-30 15:18:14 -0700
committerGitHub <noreply@github.com>2024-08-30 15:18:14 -0700
commit49862e764c6c873d7ee694663f226631b8a41353 (patch)
treeb5641f1ab272d2e69d38a0b9be45e80d8120ce9e /.github/workflows
parent3cf5935b434a8b9a07a6df5a6ab4c4dc373a1ac3 (diff)
Updated MDL shader sources for benchmarks (#4965)
* Updated MDL shader sources for benchmarks * Shifting sources to external repository * Changing repo URL syntax benchmark.yml * Refactoring entry point names
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