aboutsummaryrefslogtreecommitdiff
path: root/samples/D3D11/src/shaders/compile.bat
blob: 85e81d3ab78ceca8ff164a2a6dc851bf01785593 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@echo off
cd %~dp0
del /F /Q bin\*

set FXC=fxc.exe

%FXC% /O3 /T ps_5_0 src/Scene3D.hlsl /E GeometryPS /Fh bin/GeometryPS.h

%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

pause