summaryrefslogtreecommitdiffstats
path: root/tools/copy-hlsl-libs.bat
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-09-06 13:04:50 -0400
committerGitHub <noreply@github.com>2019-09-06 13:04:50 -0400
commit4fc07614d6407e49a0c34e7483d410153c0b269a (patch)
tree0e07fe23aa661a462d181d95e4a4a7a9c41fa992 /tools/copy-hlsl-libs.bat
parentef36883ca1733a68162b199518275871c888391e (diff)
Use d3dcompiler_47.dll from slang-binaries on windows. (#1047)
* Use dxcompiler_47.dll from slang-binaries on windows. * make https for git module slang-binaries
Diffstat (limited to 'tools/copy-hlsl-libs.bat')
-rw-r--r--tools/copy-hlsl-libs.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/copy-hlsl-libs.bat b/tools/copy-hlsl-libs.bat
index 91d5be852..2cd309aca 100644
--- a/tools/copy-hlsl-libs.bat
+++ b/tools/copy-hlsl-libs.bat
@@ -3,8 +3,10 @@ setlocal
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 "%SOURCE_DIR%" "%TARGET_DIR%" d3dcompiler_47.dll /r:0 >nul
robocopy "%SOURCE_DIR%" "%TARGET_DIR%" dxcompiler.dll /r:0 >nul
robocopy "%SOURCE_DIR%" "%TARGET_DIR%" dxil.dll /r:0 >nul