1 printf "Running glsl code generators-->\n"
2 mkdir
-p $build_dir/src
/compiler
/glsl
4 export PYTHONPATH
=$mako
5 $python3 $src_dir/src
/compiler
/glsl
/ir_expression_operation.py enum \
6 >$build_dir/src
/compiler
/glsl
/ir_expression_operation.h
&
8 #===============================================================================
9 mkdir
-p $build_dir/src
/compiler
/glsl
/glcpp
12 -o $build_dir/src
/compiler
/glsl
/glcpp
/glcpp-parse.c \
14 --defines=$build_dir/src
/compiler
/glsl
/glcpp
/glcpp-parse.h \
15 $src_dir/src
/compiler
/glsl
/glcpp
/glcpp-parse.y
&
16 #------------------------------------------------------------------------------
18 -o $build_dir/src
/compiler
/glsl
/glcpp
/glcpp-lex.c \
19 $src_dir/src
/compiler
/glsl
/glcpp
/glcpp-lex.l
&
20 #===============================================================================
22 -o $build_dir/src
/compiler
/glsl
/glsl_parser.cpp \
24 --defines=$build_dir/src
/compiler
/glsl
/glsl_parser.h \
25 $src_dir/src
/compiler
/glsl
/glsl_parser.yy
&
26 #------------------------------------------------------------------------------
28 -o $build_dir/src
/compiler
/glsl
/glsl_lexer.cpp \
29 $src_dir/src
/compiler
/glsl
/glsl_lexer.ll
&
30 #------------------------------------------------------------------------------
31 export PYTHONPATH
=$mako
32 $python3 $src_dir/src
/compiler
/glsl
/ir_expression_operation.py constant \
33 >$build_dir/src
/compiler
/glsl
/ir_expression_operation_constant.h
&
34 #------------------------------------------------------------------------------
35 $python3 $src_dir/src
/compiler
/glsl
/ir_expression_operation.py
strings \
36 >$build_dir/src
/compiler
/glsl
/ir_expression_operation_strings.h
&
38 #------------------------------------------------------------------------------
39 $python3 $src_dir/src
/util
/xxd.py \
40 $src_dir/src
/compiler
/glsl
/float64.glsl \
41 $build_dir/src
/compiler
/glsl
/float64_glsl.h \
43 #------------------------------------------------------------------------------
44 $python3 $src_dir/src
/util
/xxd.py \
45 $src_dir/src
/compiler
/glsl
/CrossPlatformSettings_piece_all.glsl \
46 $build_dir/src
/compiler
/glsl
/cross_platform_settings_piece_all.h \
47 -n cross_platform_settings_piece_all_header
&
48 #------------------------------------------------------------------------------
49 $python3 $src_dir/src
/util
/xxd.py \
50 $src_dir/src
/compiler
/glsl
/bc1.glsl \
51 $build_dir/src
/compiler
/glsl
/bc1_glsl.h \
53 #------------------------------------------------------------------------------
54 $python3 $src_dir/src
/util
/xxd.py \
55 $src_dir/src
/compiler
/glsl
/bc4.glsl \
56 $build_dir/src
/compiler
/glsl
/bc4_glsl.h \
58 #------------------------------------------------------------------------------
59 $python3 $src_dir/src
/util
/xxd.py \
60 $src_dir/src
/compiler
/glsl
/etc2_rgba_stitch.glsl \
61 $build_dir/src
/compiler
/glsl
/etc2_rgba_stitch_glsl.h \
62 -n etc2_rgba_stitch_source
&
63 #------------------------------------------------------------------------------
64 $python3 $src_dir/src
/util
/xxd.py \
65 $src_dir/src
/compiler
/glsl
/astc_decoder.glsl \
66 $build_dir/src
/compiler
/glsl
/astc_glsl.h \
68 #------------------------------------------------------------------------------
69 printf "<--glsl code generation done\n"