mesa-gl:moved to "simplified /usr" and towards RCS
[nyanlinux.git] / builders / mesa-gl-amd-sh-c7b2ac3377ae56df5e1990c2ed03360dac9519f6 / contrib / generators_gallium_auxiliary.sh
blob71e408e7a00949e7283f980811d3848997491465
1 printf "Running gallium auxiliary code generators-->\n"
2 #-------------------------------------------------------------------------------
3 # wow, some genius adding a new code generator to obsolete code
4 mkdir -p $build_dir/src/gallium/auxiliary/driver_trace
6 $python3 $src_dir/src/gallium/auxiliary/driver_trace/enums2names.py \
7 $src_dir/src/gallium/include/pipe/p_defines.h \
8 $src_dir/src/gallium/include/pipe/p_video_enums.h \
9 $src_dir/src/util/blend.h \
10 -C $build_dir/src/gallium/auxiliary/driver_trace/tr_util.c \
11 -H $build_dir/src/gallium/auxiliary/driver_trace/tr_util.h \
12 -I tr_util.h
13 #-------------------------------------------------------------------------------
14 mkdir -p $build_dir/src/gallium/auxiliary/indices
16 $python3 $src_dir/src/gallium/auxiliary/indices/u_indices_gen.py \
17 $build_dir/src/gallium/auxiliary/indices/u_indices_gen.c
19 $python3 $src_dir/src/gallium/auxiliary/indices/u_unfilled_gen.py \
20 $build_dir/src/gallium/auxiliary/indices/u_unfilled_gen.c
21 #-------------------------------------------------------------------------------
22 # do remove the sw backend keep only the drm backend
23 mkdir -p $build_dir/src/gallium/auxiliary/pipe-loader
25 cp -f $src_dir/src/gallium/auxiliary/pipe-loader/pipe_loader.c \
26 $build_dir/src/gallium/auxiliary/pipe-loader/
28 patch -i $script_dir/pipe_loader.c.patch \
29 $build_dir/src/gallium/auxiliary/pipe-loader/pipe_loader.c &
30 #-------------------------------------------------------------------------------
31 printf "<--gallium auxiliary code generation done\n"