1 printf "Running spirv code generators-->\n"
2 mkdir
-p $build_dir/src
/compiler
/spirv
4 # nir related spirv stuff, even if, here, we build opengl, because nir deals
5 # with both glsl and spirv
7 export PYTHONPATH
=$mako
8 $python3 $src_dir/src
/compiler
/spirv
/vtn_gather_types_c.py \
9 $src_dir/src
/compiler
/spirv
/spirv.core.grammar.json \
10 $build_dir/src
/compiler
/spirv
/vtn_gather_types.c
&
12 $python3 $src_dir/src
/compiler
/spirv
/spirv_info_c.py \
13 $src_dir/src
/compiler
/spirv
/spirv.core.grammar.json \
14 $build_dir/src
/compiler
/spirv
/spirv_info.c
&
16 $python3 $src_dir/src
/compiler
/spirv
/vtn_generator_ids_h.py \
17 $src_dir/src
/compiler
/spirv
/spir-v.xml \
18 $build_dir/src
/compiler
/spirv
/vtn_generator_ids.h
&
21 printf "<--spirv code generation done\n"