Skip to content

Commit 42445c4

Browse files
committed
Fixed shader script
1 parent 8509ae7 commit 42445c4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

DirectXTex/Shaders/CompileShaders.cmd

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ if exist %PCFXC% goto continue
1717
set PCFXC=fxc.exe
1818

1919
:continue
20-
@if %CompileShadersOutput%.==. set CompileShadersOutput=Compiled
20+
if not defined CompileShadersOutput set CompileShadersOutput=Compiled
21+
set StrTrim=%CompileShadersOutput%##
22+
set StrTrim=%StrTrim: ##=%
23+
set CompileShadersOutput=%StrTrim:##=%
2124
@if not exist %CompileShadersOutput% mkdir %CompileShadersOutput%
2225
call :CompileShader BC7Encode TryMode456CS
2326
call :CompileShader BC7Encode TryMode137CS

0 commit comments

Comments
 (0)