mesa-gl:moved to "simplified /usr" and towards RCS
[nyanlinux.git] / builders / mesa-gl-amd-sh-ddf2ca4faffdd309638aa0ebfcba2c43b4fc439d / contrib / generators_spirv.sh
bloba4783fdf0de8130e03a3fad55f7a17470ae4a431
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 &
19 unset PYTHONPATH
21 printf "<--spirv code generation done\n"