summaryrefslogtreecommitdiff
path: root/tools/copy-hlsl-libs.bat
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-07-09 11:00:44 -0700
committerGitHub <noreply@github.com>2021-07-09 11:00:44 -0700
commitfa565f96823f3985cffa3a899742fdf1449d5876 (patch)
treee8aeddb87cd077bf9b28ca4b799756c0ee77e48a /tools/copy-hlsl-libs.bat
parent09a251e0f3a31c826eaa91eef64b04eb01c4393a (diff)
Enable testing with Swiftshader. (#1906)
Diffstat (limited to 'tools/copy-hlsl-libs.bat')
-rw-r--r--tools/copy-hlsl-libs.bat9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/copy-hlsl-libs.bat b/tools/copy-hlsl-libs.bat
index 806cbfde7..721273112 100644
--- a/tools/copy-hlsl-libs.bat
+++ b/tools/copy-hlsl-libs.bat
@@ -5,9 +5,12 @@ set SOURCE_DIR=%~1
set TARGET_DIR=%~2
set PLATFORM=%~3
-robocopy "../../external/slang-binaries/bin/%PLATFORM%" "%TARGET_DIR%" d3dcompiler_47.dll /r:0 >nul
+robocopy "../../../external/slang-binaries/bin/%PLATFORM%" "%TARGET_DIR%" d3dcompiler_47.dll /r:0 >nul
-robocopy "%SOURCE_DIR%" "%TARGET_DIR%" dxcompiler.dll /xn /r:0 >nul
-robocopy "%SOURCE_DIR%" "%TARGET_DIR%" dxil.dll /xn /r:0 >nul
+robocopy "../../../external/slang-binaries/bin/%PLATFORM%" "%TARGET_DIR%" dxcompiler.dll /r:0 >nul
+robocopy "../../../external/slang-binaries/bin/%PLATFORM%" "%TARGET_DIR%" dxil.dll /r:0 >nul
+
+robocopy "%SOURCE_DIR%" "%TARGET_DIR%" dxcompiler.dll /xo /r:0 >nul
+robocopy "%SOURCE_DIR%" "%TARGET_DIR%" dxil.dll /xo /r:0 >nul
exit /b 0