3 REM Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
\r
4 REM Use of this source code is governed by a BSD-style license that can be
\r
5 REM found in the LICENSE file.
\r
8 PATH %PATH%;%ProgramFiles(x86)%\Windows Kits\8.0\bin\x86;%DXSDK_DIR%\Utilities\bin\x86
\r
15 if "%1" == "debug" (
\r
18 if "%1" == "release" (
\r
22 :: | Input file | Entry point | Type | Output file | Debug |
\r
23 call:BuildShader Blit.vs standardvs vs_2_0 compiled\standardvs.h %debug%
\r
24 call:BuildShader Blit.vs flipyvs vs_2_0 compiled\flipyvs.h %debug%
\r
25 call:BuildShader Blit.ps passthroughps ps_2_0 compiled\passthroughps.h %debug%
\r
26 call:BuildShader Blit.ps luminanceps ps_2_0 compiled\luminanceps.h %debug%
\r
27 call:BuildShader Blit.ps componentmaskps ps_2_0 compiled\componentmaskps.h %debug%
\r
31 if %successCount% GTR 0 (
\r
32 echo %successCount% shaders compiled successfully.
\r
34 if %errorCount% GTR 0 (
\r
35 echo There were %errorCount% shader compilation errors.
\r
49 set "buildCMD=fxc /nologo /E %entry% /T %type% /Fh %output% %input%"
\r
51 set "buildCMD=fxc /nologo /Zi /Od /E %entry% /T %type% /Fh %output% %input%"
\r
55 %buildCMD% || set error=1
\r
58 set /a successCount=%successCount%+1
\r
60 set /a errorCount=%errorCount%+1
\r