mesa-gl:moved to "simplified /usr" and towards RCS
[nyanlinux.git] / builders / mesa-gl-amd-sh-671c646a0ded70299aaf93ea189587a2cdc96981 / contrib / generators_spirv.sh
blob4336b951d83a1729fd93326e3c07536239ba6d03
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_gen.py \
13 --json $src_dir/src/compiler/spirv/spirv.core.grammar.json \
14 --out-h $build_dir/src/compiler/spirv/spirv_info.h \
15 --out-c $build_dir/src/compiler/spirv/spirv_info.c &
17 $python3 $src_dir/src/compiler/spirv/vtn_generator_ids_h.py \
18 $src_dir/src/compiler/spirv/spir-v.xml \
19 $build_dir/src/compiler/spirv/vtn_generator_ids.h &
20 unset PYTHONPATH
22 printf "<--spirv code generation done\n"