@echo off
REM  This batch file invokes (re)compilation of shader binaries and assembly listings.
REM  Please ensure that Microsoft Shader Compiler "fxc.exe" is installed, with path to its executable
REM  defined in system's environment "PATH" variable. The compiler is part of Windows SDK.
del /Q Triangle.vs.bin 2>NUL
del /Q Triangle.vs.lst 2>NUL
del /Q Triangle.ps.bin 2>NUL
del /Q Triangle.ps.lst 2>NUL
fxc.exe /nologo /Ges /O3 /T vs_5_0 /E main /Fo Triangle.vs.bin /Fc Triangle.vs.lst Triangle.vs.hlsl
fxc.exe /nologo /Ges /O3 /T ps_5_0 /E main /Fo Triangle.ps.bin /Fc Triangle.ps.lst Triangle.ps.hlsl