mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-09 22:40:06 +00:00
Make sure CompileShaders.cmd returns 1 on failure
This commit is contained in:
parent
9c72f2c6cd
commit
8215747e05
@ -37,10 +37,11 @@ if %error% == 0 (
|
||||
echo Shaders compiled ok
|
||||
) else (
|
||||
echo There were shader compilation errors!
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
endlocal
|
||||
exit /b
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user