Skip to content

Commit 2de2aee

Browse files
committed
Fixed shader script
1 parent 8509ae7 commit 2de2aee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

DirectXTex/Shaders/CompileShaders.cmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ 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) else (set CompileShadersOutput=%CompileShadersOutput%##
21+
set CompileShadersOutput=%CompileShadersOutput: ##=%
22+
set CompileShadersOutput=%CompileShadersOutput:##=%)
2123
@if not exist %CompileShadersOutput% mkdir %CompileShadersOutput%
2224
call :CompileShader BC7Encode TryMode456CS
2325
call :CompileShader BC7Encode TryMode137CS

0 commit comments

Comments
 (0)