forked from enlightenment/efl
fix autofoo make and included files etc. produce shader binaries for systems
that dont have runtime compilers using offline tools. binary blobs will need to be provided in src trees as the shader_type_bin_target.h files SVN revision: 43004
This commit is contained in:
parent
a6b2cfd52a
commit
00486440c0
|
@ -16,10 +16,22 @@ evas_gl_private.h \
|
|||
evas_gl_common.h \
|
||||
evas_gl_context.c \
|
||||
evas_gl_shader.c \
|
||||
shader/font_frag.h \
|
||||
shader/font_frag_bin_s3c6410.h \
|
||||
shader/font_vert.h \
|
||||
shader/font_vert_bin_s3c6410.h \
|
||||
shader/img_frag.h \
|
||||
shader/img_frag_bin_s3c6410.h \
|
||||
shader/img_vert.h \
|
||||
shader/img_vert_bin_s3c6410.h \
|
||||
shader/rect_frag.h \
|
||||
shader/rect_frag_bin_s3c6410.h \
|
||||
shader/rect_vert.h \
|
||||
shader/rect_vert_bin_s3c6410.h \
|
||||
shader/yuv_frag.h \
|
||||
shader/yuv_frag_bin_s3c6410.h \
|
||||
shader/yuv_vert.h \
|
||||
shader/yuv_vert_bin_s3c6410.h \
|
||||
evas_gl_rectangle.c \
|
||||
evas_gl_texture.c \
|
||||
evas_gl_image.c \
|
||||
|
@ -48,4 +60,6 @@ shader/rect_frag_s3c6410.asm \
|
|||
shader/rect_vert.shd \
|
||||
shader/font_frag.shd \
|
||||
shader/font_frag_s3c6410.asm \
|
||||
shader/font_vert.shd
|
||||
shader/font_vert.shd \
|
||||
shader/yuv_frag.shd \
|
||||
shader/yuv_vert.shd
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#if defined (GLES_VARIETY_S3C6410)
|
||||
const unsigned int rect_frag_bin[] =
|
||||
{
|
||||
# include "shader/rect_frag_bin.h"
|
||||
# include "shader/rect_frag_bin_s3c6410.h"
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -24,7 +24,7 @@ Evas_GL_Program_Source shader_rect_frag_src =
|
|||
#if defined (GLES_VARIETY_S3C6410)
|
||||
const unsigned int rect_frag_bin[] =
|
||||
{
|
||||
# include "shader/rect_vert_bin.h"
|
||||
# include "shader/rect_vert_bin_s3c6410.h"
|
||||
};
|
||||
#endif
|
||||
const char rect_vert_glsl[] =
|
||||
|
@ -44,7 +44,7 @@ Evas_GL_Program_Source shader_rect_vert_src =
|
|||
#if defined (GLES_VARIETY_S3C6410)
|
||||
const unsigned int img_frag_bin[] =
|
||||
{
|
||||
# include "shader/img_frag_bin.h"
|
||||
# include "shader/img_frag_bin_s3c6410.h"
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -64,7 +64,7 @@ Evas_GL_Program_Source shader_img_frag_src =
|
|||
#if defined (GLES_VARIETY_S3C6410)
|
||||
const unsigned int img_frag_bin[] =
|
||||
{
|
||||
# include "shader/img_vert_bin.h"
|
||||
# include "shader/img_vert_bin_s3c6410.h"
|
||||
};
|
||||
#endif
|
||||
const char img_vert_glsl[] =
|
||||
|
@ -84,7 +84,7 @@ Evas_GL_Program_Source shader_img_vert_src =
|
|||
#if defined (GLES_VARIETY_S3C6410)
|
||||
const unsigned int font_frag_bin[] =
|
||||
{
|
||||
# include "shader/font_frag_bin.h"
|
||||
# include "shader/font_frag_bin_s3c6410.h"
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -104,7 +104,7 @@ Evas_GL_Program_Source shader_font_frag_src =
|
|||
#if defined (GLES_VARIETY_S3C6410)
|
||||
const unsigned int font_frag_bin[] =
|
||||
{
|
||||
# include "shader/font_vert_bin.h"
|
||||
# include "shader/font_vert_bin_s3c6410.h"
|
||||
};
|
||||
#endif
|
||||
const char font_vert_glsl[] =
|
||||
|
@ -124,7 +124,7 @@ Evas_GL_Program_Source shader_font_vert_src =
|
|||
#if defined (GLES_VARIETY_S3C6410)
|
||||
const unsigned int yuv_frag_bin[] =
|
||||
{
|
||||
# include "shader/yuv_frag_bin.h"
|
||||
# include "shader/yuv_frag_bin_s3c6410.h"
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -144,7 +144,7 @@ Evas_GL_Program_Source shader_yuv_frag_src =
|
|||
#if defined (GLES_VARIETY_S3C6410)
|
||||
const unsigned int yuv_frag_bin[] =
|
||||
{
|
||||
# include "shader/yuv_vert_bin.h"
|
||||
# include "shader/yuv_vert_bin_s3c6410.h"
|
||||
};
|
||||
#endif
|
||||
const char yuv_vert_glsl[] =
|
||||
|
|
|
@ -9,22 +9,22 @@ function compile()
|
|||
make-c-str.sh $F"_frag.shd" > $F"_frag.h"
|
||||
if test -f $F"_frag_s3c6410.asm"; then
|
||||
wine $ORIONEXE -a $OPTS -f $F"_frag_s3c6410.asm"
|
||||
make-c-bin.sh $F"_frag_s3c6410.bin" > $F"_frag_bin.h"
|
||||
make-c-bin.sh $F"_frag_s3c6410.bin" > $F"_frag_bin_s3c6410.h"
|
||||
rm -f $F"_frag_s3c6410.bin" $F"_frag_s3c6410.h"
|
||||
else
|
||||
wine $ORIONEXE $OPTS -f $F"_frag.shd"
|
||||
make-c-bin.sh $F"_frag.shd.bin" > $F"_frag_bin.h"
|
||||
make-c-bin.sh $F"_frag.shd.bin" > $F"_frag_bin_s3c6410.h"
|
||||
rm -f $F"_frag.shd.bin" $F"_frag.shd.asm" $F"_frag.shd.h"
|
||||
fi
|
||||
|
||||
make-c-str.sh $F"_vert.shd" > $F"_vert.h"
|
||||
if test -f $F"_vert_s3c6410.asm"; then
|
||||
wine $ORIONEXE -a $OPTS -v $F"_vert_s3c6410.asm"
|
||||
make-c-bin.sh $F"_vert_s3c6410.bin" > $F"_vert_bin.h"
|
||||
make-c-bin.sh $F"_vert_s3c6410.bin" > $F"_vert_bin_s3c6410.h"
|
||||
rm -f $F"_vert_s3c6410.bin" $F"_vert_s3c6410.h"
|
||||
else
|
||||
wine $ORIONEXE $OPTS -v $F"_vert.shd"
|
||||
make-c-bin.sh $F"_vert.shd.bin" > $F"_vert_bin.h"
|
||||
make-c-bin.sh $F"_vert.shd.bin" > $F"_vert_bin_s3c6410.h"
|
||||
rm -f $F"_vert.shd.bin" $F"_vert.shd.asm" $F"_vert.shd.h"
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000003, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000001,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000e, 0x00000000,
|
||||
0x00000000, 0x0000e407, 0x307820e4, 0x00000000, 0x01000000, 0x0100e400,
|
||||
0x237a10ff, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000,
|
||||
0x00000004, 0x00000003, 0x00000009, 0x00000000, 0x00000004, 0x00000008,
|
||||
0x00000005, 0x00000003, 0x00000000, 0x00000000, 0x00000000, 0x00000003,
|
||||
0x0000000f, 0x00030005, 0x00000000, 0x00786574, 0x006c6f63, 0x5f786574,
|
||||
0x00000063,
|
|
@ -0,0 +1,20 @@
|
|||
0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000007, 0x00000006,
|
||||
0x00000000, 0x00000000, 0x00000003, 0x00000003, 0x00000001, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000031, 0x00000000,
|
||||
0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500,
|
||||
0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000,
|
||||
0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000,
|
||||
0x20f801e4, 0x00000000, 0x00000000, 0x00020000, 0x20980254, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x1e000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000c, 0x00000006,
|
||||
0x00000009, 0x00000000, 0x00000000, 0x00000013, 0x00000005, 0x00000009,
|
||||
0x00000000, 0x00000004, 0x00000019, 0x00000009, 0x00000003, 0x00000000,
|
||||
0x00000008, 0x00000000, 0x0000000b, 0x00000009, 0x00010004, 0x00000000,
|
||||
0x00000027, 0x00000003, 0x00000009, 0x00010004, 0x00000004, 0x0000002b,
|
||||
0x00000005, 0x00000003, 0x00010004, 0x00000008, 0x00000023, 0x00000003,
|
||||
0x0000000e, 0x00020001, 0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69,
|
||||
0x74726576, 0x63007865, 0x726f6c6f, 0x78657400, 0x6f6f635f, 0x6d006472,
|
||||
0x63007076, 0x74006c6f, 0x635f7865, 0x00000000,
|
|
@ -0,0 +1,9 @@
|
|||
0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000003, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000001,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000e, 0x00000000,
|
||||
0x00000000, 0x0000e407, 0x307820e4, 0x00000000, 0x01000000, 0x0100e400,
|
||||
0x237a10c6, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000,
|
||||
0x00000004, 0x00000003, 0x00000009, 0x00000000, 0x00000004, 0x00000008,
|
||||
0x00000005, 0x00000003, 0x00000000, 0x00000000, 0x00000000, 0x00000003,
|
||||
0x0000000f, 0x00030005, 0x00000000, 0x00786574, 0x006c6f63, 0x5f786574,
|
||||
0x00000063,
|
|
@ -0,0 +1,20 @@
|
|||
0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000007, 0x00000006,
|
||||
0x00000000, 0x00000000, 0x00000003, 0x00000003, 0x00000001, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000031, 0x00000000,
|
||||
0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500,
|
||||
0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000,
|
||||
0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000,
|
||||
0x20f801e4, 0x00000000, 0x00000000, 0x00020000, 0x20980254, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x1e000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000c, 0x00000006,
|
||||
0x00000009, 0x00000000, 0x00000000, 0x00000013, 0x00000005, 0x00000009,
|
||||
0x00000000, 0x00000004, 0x00000019, 0x00000009, 0x00000003, 0x00000000,
|
||||
0x00000008, 0x00000000, 0x0000000b, 0x00000009, 0x00010004, 0x00000000,
|
||||
0x00000027, 0x00000003, 0x00000009, 0x00010004, 0x00000004, 0x0000002b,
|
||||
0x00000005, 0x00000003, 0x00010004, 0x00000008, 0x00000023, 0x00000003,
|
||||
0x0000000e, 0x00020001, 0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69,
|
||||
0x74726576, 0x63007865, 0x726f6c6f, 0x78657400, 0x6f6f635f, 0x6d006472,
|
||||
0x63007076, 0x74006c6f, 0x635f7865, 0x00000000,
|
|
@ -0,0 +1,6 @@
|
|||
0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000002, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x20fa10e4, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x1e000000, 0x00000000, 0x00000000, 0x00000003, 0x00000009, 0x00000000,
|
||||
0x00000000, 0x006c6f63,
|
|
@ -0,0 +1,17 @@
|
|||
0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000006, 0x00000006,
|
||||
0x00000000, 0x00000000, 0x00000002, 0x00000002, 0x00000001, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000021, 0x00000000,
|
||||
0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500,
|
||||
0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000,
|
||||
0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000,
|
||||
0x20f801e4, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000,
|
||||
0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x0000000c, 0x00000006, 0x00000009, 0x00000000, 0x00000000, 0x00000013,
|
||||
0x00000005, 0x00000009, 0x00000000, 0x00000004, 0x00000000, 0x0000000b,
|
||||
0x00000009, 0x00010004, 0x00000000, 0x0000001d, 0x00000003, 0x00000009,
|
||||
0x00010004, 0x00000004, 0x00000019, 0x00000003, 0x0000000e, 0x00020001,
|
||||
0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69, 0x74726576, 0x63007865,
|
||||
0x726f6c6f, 0x70766d00, 0x6c6f6300, 0x00000000,
|
|
@ -0,0 +1,31 @@
|
|||
0x20205350, 0xffff0008, 0x00000048, 0x01020000, 0x00000014, 0x0000000a,
|
||||
0x00000000, 0x00000000, 0x00000004, 0x00000000, 0x00000000, 0x00000003,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000026, 0x00000000,
|
||||
0x00000000, 0x02025400, 0x23782050, 0x00000000, 0x00000000, 0x0100e407,
|
||||
0x307820e4, 0x00000000, 0x01000000, 0x02025400, 0x23782150, 0x00000000,
|
||||
0x01000000, 0x0101e407, 0x307821e4, 0x00000000, 0x02000000, 0x02025400,
|
||||
0x23782250, 0x00000000, 0x02000000, 0x0102e407, 0x307822e4, 0x00000000,
|
||||
0x03000000, 0x01000042, 0x22082300, 0x00000000, 0x04000000, 0x01030002,
|
||||
0x23082300, 0x00000000, 0x05000000, 0x01010042, 0x22102300, 0x00000000,
|
||||
0x05000000, 0x01020042, 0x22202300, 0x00000000, 0x03000103, 0x0206aa01,
|
||||
0x2ec02300, 0x00000000, 0x03000103, 0x42075501, 0x2e882400, 0x00000000,
|
||||
0x03000104, 0x4208aa01, 0x2e882400, 0x00000000, 0x03000103, 0x02095501,
|
||||
0x2e882300, 0x00000000, 0x00000000, 0x01030000, 0x208825ff, 0x00000000,
|
||||
0x00000000, 0x01040000, 0x20902500, 0x00000000, 0x00000000, 0x01030000,
|
||||
0x20a02500, 0x00000000, 0x00000000, 0x02020000, 0x20c02500, 0x00000000,
|
||||
0x03000000, 0x0105e400, 0x237a10e4, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x1e000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x3d800000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x3f94fdf4, 0x00000000, 0x00000000, 0x00000000, 0x3f000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x3fb374bc, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x3eb0331e, 0x00000000, 0x00000000, 0x00000000, 0x3f36d1e1, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x3fe2d0e5, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x0000000e, 0x00000003, 0x00000009, 0x00000000, 0x0000000c, 0x00000012,
|
||||
0x00000005, 0x00000003, 0x00000000, 0x00000000, 0x00000018, 0x00000006,
|
||||
0x00000003, 0x00000000, 0x00000004, 0x0000001f, 0x00000006, 0x00000003,
|
||||
0x00000000, 0x00000008, 0x00000000, 0x00000003, 0x0000000f, 0x00030005,
|
||||
0x00000000, 0x00000004, 0x00000004, 0x0000000f, 0x00030005, 0x00000004,
|
||||
0x00000009, 0x00000004, 0x0000000f, 0x00030005, 0x00000008, 0x00786574,
|
||||
0x75786574, 0x78657400, 0x6f630076, 0x6574006c, 0x00635f78, 0x5f786574,
|
||||
0x74003263, 0x635f7865, 0x00000033,
|
|
@ -0,0 +1,26 @@
|
|||
0x20205356, 0xffff0008, 0x00000048, 0x01020000, 0x00000009, 0x00000006,
|
||||
0x00000000, 0x00000000, 0x00000005, 0x00000005, 0x00000001, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000055, 0x00000000,
|
||||
0x00000000, 0x02020000, 0x237820e4, 0x00000000, 0x00e40100, 0x02035500,
|
||||
0x2ef820e4, 0x00000000, 0x00e40100, 0x0204aa00, 0x2ef820e4, 0x00000000,
|
||||
0x00e40100, 0x0205ff00, 0x2ef800e4, 0x00000000, 0x00000000, 0x00010000,
|
||||
0x20f801e4, 0x00000000, 0x00000000, 0x00020000, 0x20980254, 0x00000000,
|
||||
0x00000000, 0x00030000, 0x20980354, 0x00000000, 0x00000000, 0x00040000,
|
||||
0x20980454, 0x00000000, 0x00000000, 0x00000000, 0x1e000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f800000, 0x3f800000,
|
||||
0x3f800000, 0x3f800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
|
||||
0x0000000c, 0x00000006, 0x00000009, 0x00000000, 0x00000000, 0x00000013,
|
||||
0x00000005, 0x00000009, 0x00000000, 0x00000004, 0x00000019, 0x00000009,
|
||||
0x00000003, 0x00000000, 0x00000008, 0x00000023, 0x0000000a, 0x00000003,
|
||||
0x00000000, 0x0000000c, 0x0000002e, 0x0000000a, 0x00000003, 0x00000000,
|
||||
0x00000010, 0x00000000, 0x0000000b, 0x00000009, 0x00010004, 0x00000000,
|
||||
0x0000003d, 0x00000003, 0x00000009, 0x00010004, 0x00000004, 0x00000041,
|
||||
0x00000005, 0x00000003, 0x00010004, 0x00000008, 0x00000047, 0x00000006,
|
||||
0x00000003, 0x00010004, 0x0000000c, 0x0000004e, 0x00000006, 0x00000003,
|
||||
0x00010004, 0x00000010, 0x00000039, 0x00000003, 0x0000000e, 0x00020001,
|
||||
0x00000008, 0x505f6c67, 0x7469736f, 0x006e6f69, 0x74726576, 0x63007865,
|
||||
0x726f6c6f, 0x78657400, 0x6f6f635f, 0x74006472, 0x635f7865, 0x64726f6f,
|
||||
0x65740032, 0x6f635f78, 0x3364726f, 0x70766d00, 0x6c6f6300, 0x78657400,
|
||||
0x7400635f, 0x635f7865, 0x65740032, 0x33635f78, 0x00000000,
|
Loading…
Reference in New Issue