Skip to content

Commit

Permalink
Updating with new benchmark shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
venkataram-nv committed Aug 30, 2024
1 parent 00bb281 commit 25a5feb
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/benchmark-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
- 'LICENCE'
- 'CONTRIBUTION.md'
- 'README.md'
pull_request:
branches: [master]
paths-ignore:
- 'docs/**'
- 'LICENCE'
- 'CONTRIBUTION.md'
- 'README.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -32,12 +39,16 @@ 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
- uses: actions/checkout@v3
with:
repository: 'shader-slang/slang-material-modules-benchmark'
Expand All @@ -54,4 +65,5 @@ jobs:
git add benchmarks.json current
git commit -m "$(cat commit)" -m "https://github.com/shader-slang/slang/commit/$(cat commit-hash)"
git log
echo "sec:${{ secrets.SLANG_MDL_BENCHMARK_RESULTS_PAT }}"
git push https://venkataram-nv:${{ secrets.SLANG_MDL_BENCHMARK_RESULTS_PAT }}@github.com/shader-slang/slang-material-modules-benchmark.git

0 comments on commit 25a5feb

Please sign in to comment.