Skip to content

Commit

Permalink
Fixed shader script
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Oct 15, 2021
1 parent 8509ae7 commit 42445c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion DirectXTex/Shaders/CompileShaders.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ if exist %PCFXC% goto continue
set PCFXC=fxc.exe

:continue
@if %CompileShadersOutput%.==. set CompileShadersOutput=Compiled
if not defined CompileShadersOutput set CompileShadersOutput=Compiled
set StrTrim=%CompileShadersOutput%##
set StrTrim=%StrTrim: ##=%
set CompileShadersOutput=%StrTrim:##=%
@if not exist %CompileShadersOutput% mkdir %CompileShadersOutput%
call :CompileShader BC7Encode TryMode456CS
call :CompileShader BC7Encode TryMode137CS
Expand Down

0 comments on commit 42445c4

Please sign in to comment.