diff options
Diffstat (limited to '')
-rwxr-xr-x | libraries/evas/src/modules/engines/gl_common/shader/compile-s3c6410.sh | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/compile-s3c6410.sh b/libraries/evas/src/modules/engines/gl_common/shader/compile-s3c6410.sh new file mode 100755 index 0000000..450e5de --- /dev/null +++ b/libraries/evas/src/modules/engines/gl_common/shader/compile-s3c6410.sh | |||
@@ -0,0 +1,47 @@ | |||
1 | #!/bin/sh | ||
2 | ORIONEXE=/home/raster/Data/orion/orion.exe | ||
3 | OPTS="-O --nolodcalc -lp" | ||
4 | |||
5 | function compile() | ||
6 | { | ||
7 | F=$1 | ||
8 | |||
9 | make-c-str.sh $F"_frag.shd" > $F"_frag.h" | ||
10 | if test -f $F"_frag_s3c6410.asm"; then | ||
11 | wine $ORIONEXE -a $OPTS -f $F"_frag_s3c6410.asm" | ||
12 | make-c-bin.sh $F"_frag_s3c6410.bin" > $F"_frag_bin_s3c6410.h" | ||
13 | rm -f $F"_frag_s3c6410.bin" $F"_frag_s3c6410.h" | ||
14 | else | ||
15 | wine $ORIONEXE $OPTS -f $F"_frag.shd" | ||
16 | make-c-bin.sh $F"_frag.shd.bin" > $F"_frag_bin_s3c6410.h" | ||
17 | rm -f $F"_frag.shd.bin" $F"_frag.shd.asm" $F"_frag.shd.h" | ||
18 | fi | ||
19 | |||
20 | make-c-str.sh $F"_vert.shd" > $F"_vert.h" | ||
21 | if test -f $F"_vert_s3c6410.asm"; then | ||
22 | wine $ORIONEXE -a $OPTS -v $F"_vert_s3c6410.asm" | ||
23 | make-c-bin.sh $F"_vert_s3c6410.bin" > $F"_vert_bin_s3c6410.h" | ||
24 | rm -f $F"_vert_s3c6410.bin" $F"_vert_s3c6410.h" | ||
25 | else | ||
26 | wine $ORIONEXE $OPTS -v $F"_vert.shd" | ||
27 | make-c-bin.sh $F"_vert.shd.bin" > $F"_vert_bin_s3c6410.h" | ||
28 | rm -f $F"_vert.shd.bin" $F"_vert.shd.asm" $F"_vert.shd.h" | ||
29 | fi | ||
30 | } | ||
31 | |||
32 | compile rect | ||
33 | compile font | ||
34 | compile img | ||
35 | compile img_nomul | ||
36 | compile img_bgra | ||
37 | compile img_bgra_nomul | ||
38 | compile img_mask | ||
39 | compile yuv | ||
40 | compile yuv_nomul | ||
41 | compile tex | ||
42 | compile tex_nomul | ||
43 | compile nv12 | ||
44 | compile nv12_nomul | ||
45 | compile yuy2 | ||
46 | compile yuy2_nomul | ||
47 | ## FIXME: compile filter_* | ||