From 3382be5986eca2aa0290ee6bf31e6ad604f5d27a Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Wed, 24 Aug 2022 20:16:53 -0700 Subject: [PATCH] Fix path issue with spaces --- DirectXTex/Shaders/CompileShaders.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DirectXTex/Shaders/CompileShaders.cmd b/DirectXTex/Shaders/CompileShaders.cmd index 6d953bb..13418e0 100644 --- a/DirectXTex/Shaders/CompileShaders.cmd +++ b/DirectXTex/Shaders/CompileShaders.cmd @@ -44,7 +44,7 @@ endlocal exit /b 0 :CompileShader -set fxc=%PCFXC% %1.hlsl %FXCOPTS% /Tcs_4_0 /E%2 "/Fh%CompileShadersOutput%\%1_%2.inc" "/Fd%CompileShadersOutput%\%1_%2.pdb" /Vn%1_%2 +set fxc=%PCFXC% "%1.hlsl" %FXCOPTS% /Tcs_4_0 /E%2 "/Fh%CompileShadersOutput%\%1_%2.inc" "/Fd%CompileShadersOutput%\%1_%2.pdb" /Vn%1_%2 echo. echo %fxc% %fxc% || set error=1