diff options
Diffstat (limited to 'test/src/D3D11/shaders/compile.bat')
| -rw-r--r-- | test/src/D3D11/shaders/compile.bat | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/src/D3D11/shaders/compile.bat b/test/src/D3D11/shaders/compile.bat new file mode 100644 index 0000000..74fd760 --- /dev/null +++ b/test/src/D3D11/shaders/compile.bat @@ -0,0 +1,19 @@ +@echo off + +cd %~dp0 + +del /F /Q bin\* + +set FXC=fxc.exe + +%FXC% /O3 /T ps_5_0 src/Scene3D.hlsl /E CopyColorPS /Fh bin/CopyColorPS.h + +%FXC% /O3 /T vs_5_0 src/Scene3D.hlsl /E FullScreenTriangleVS /Fh bin/FullScreenTriangleVS.h + +%FXC% /O3 /T vs_5_0 src/Scene3D.hlsl /E GeometryVS /Fh bin/GeometryVS.h + +%FXC% /O3 /T ps_5_0 src/Scene3D.hlsl /E GeometryColorPS /Fh bin/GeometryColorPS.h + +%FXC% /O3 /T ps_5_0 src/Scene3D.hlsl /E GeometryColorNormalPS /Fh bin/GeometryColorNormalPS.h + +pause |