diff options
| author | lbavoil <[email protected]> | 2016-03-25 13:01:54 +0100 |
|---|---|---|
| committer | lbavoil <[email protected]> | 2016-03-25 13:01:54 +0100 |
| commit | 99174e4e5fb4b7079da80b35a6dfd68f3fd56a1c (patch) | |
| tree | fbcd4260d6c953d569a887505336a1c3f202e10f /src/shaders/helper_hlsl_cc.bat | |
| download | hbaoplus-99174e4e5fb4b7079da80b35a6dfd68f3fd56a1c.tar.xz hbaoplus-99174e4e5fb4b7079da80b35a6dfd68f3fd56a1c.zip | |
GFSDK_HBAO+_distro_r3.0_cl20573789
Diffstat (limited to 'src/shaders/helper_hlsl_cc.bat')
| -rw-r--r-- | src/shaders/helper_hlsl_cc.bat | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/shaders/helper_hlsl_cc.bat b/src/shaders/helper_hlsl_cc.bat new file mode 100644 index 0000000..1f27379 --- /dev/null +++ b/src/shaders/helper_hlsl_cc.bat @@ -0,0 +1,20 @@ +@SET "HLSL_CC=%~dp0\HLSLcc.exe" +@SET "STRINGIFY=%~dp0\Stringify.exe" +@SET "HELPER_FXC=%~dp0\helper_fxc" + +@CALL %HELPER_FXC% +@IF ERRORLEVEL 1 GOTO error + +:: static const unsigned int HLSLCC_FLAG_UNIFORM_BUFFER_OBJECT = 0x1; +@%HLSL_CC% %HLSL_CC_CMD_LINE% +@IF ERRORLEVEL 1 GOTO error + +@%STRINGIFY% %STRINGIFY_CMD_LINE% +@IF ERRORLEVEL 1 GOTO error + +:done +@EXIT /B 0 + +:error +@echo %0: ERROR +@EXIT /B 1 |