diff options
Diffstat (limited to 'LibOVR/Src/CAPI/Shaders/genPixelShaderHeader.bat')
-rw-r--r-- | LibOVR/Src/CAPI/Shaders/genPixelShaderHeader.bat | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/LibOVR/Src/CAPI/Shaders/genPixelShaderHeader.bat b/LibOVR/Src/CAPI/Shaders/genPixelShaderHeader.bat index a1311b2..76f17c2 100644 --- a/LibOVR/Src/CAPI/Shaders/genPixelShaderHeader.bat +++ b/LibOVR/Src/CAPI/Shaders/genPixelShaderHeader.bat @@ -1,15 +1,15 @@ -@echo off -pushd %~dp0 -echo Compiling shader and packing into header: %~2 -setlocal - -set PATH=%PATH%;"%DXSDK_DIR%Utilities\bin\x86\" -fxc.exe /nologo /E main /T ps_4_0 /Fo "%1" %2 -bin2header.exe "%1" - -echo Generating shader reflection data for %1 -ShaderReflector "%1" "%1_refl.h" - -del "%1" -endlocal -popd +@echo off
+pushd %~dp0
+echo Compiling shader and packing into header: %~2
+setlocal
+
+set PATH=%PATH%;"%DXSDK_DIR%Utilities\bin\x86\"
+fxc.exe /nologo /E main /T ps_4_0 /Fo "%1" %2
+bin2header.exe "%1"
+
+echo Generating shader reflection data for %1
+ShaderReflector "%1" "%1_refl.h"
+
+del "%1"
+endlocal
+popd
|