aboutsummaryrefslogtreecommitdiff
path: root/src/shaders/compile_glsl.bat
blob: 603b2f27ffb20401795cd33d1b07c787e023523e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
@set OUTPUT_GLSL=%SBT_OUTPUT%.glsl
@set OUTPUT_OBJ=%SBT_OUTPUT%.o

@set FXC_CMD_LINE=/O3 /T %SBT_PROFILE% %SBT_INPUT% /E %SBT_ENTRY_POINT% %SBT_DEFINES% /Fo %OUTPUT_OBJ% 

@set HLSL_CC_CMD_LINE=-flags=1 -in=%OUTPUT_OBJ% -out=%OUTPUT_GLSL% -lang=150

@set STRINGIFY_CMD_LINE=%OUTPUT_GLSL% %SBT_VARIABLE_NAME% %SBT_OUTPUT% 

@call %~dp0\helper_hlsl_cc

@del %OUTPUT_GLSL%
@del %OUTPUT_OBJ%