We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8509ae7 commit 42445c4Copy full SHA for 42445c4
DirectXTex/Shaders/CompileShaders.cmd
@@ -17,7 +17,10 @@ if exist %PCFXC% goto continue
17
set PCFXC=fxc.exe
18
19
:continue
20
-@if %CompileShadersOutput%.==. set CompileShadersOutput=Compiled
+if not defined CompileShadersOutput set CompileShadersOutput=Compiled
21
+set StrTrim=%CompileShadersOutput%##
22
+set StrTrim=%StrTrim: ##=%
23
+set CompileShadersOutput=%StrTrim:##=%
24
@if not exist %CompileShadersOutput% mkdir %CompileShadersOutput%
25
call :CompileShader BC7Encode TryMode456CS
26
call :CompileShader BC7Encode TryMode137CS
0 commit comments