From 49862e764c6c873d7ee694663f226631b8a41353 Mon Sep 17 00:00:00 2001 From: venkataram-nv Date: Fri, 30 Aug 2024 15:18:14 -0700 Subject: 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 --- .github/workflows/benchmark.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.github/workflows') 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 -- cgit v1.2.3