diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_s3c6410.asm | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to 'libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_s3c6410.asm')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_s3c6410.asm | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_s3c6410.asm b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_s3c6410.asm new file mode 100644 index 0000000..9a10bf0 --- /dev/null +++ b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag_s3c6410.asm | |||
@@ -0,0 +1,46 @@ | |||
1 | |||
2 | #------------------------------------------------- | ||
3 | # ORION - OpenGL ES 2.0 Shading Language Compiler | ||
4 | # SAMSUNG INDIA SOFTWARE OPERATIONS PVT. LTD. | ||
5 | # Compiler Version : v04.00.09 | ||
6 | # Release Date : 19.01.2009 | ||
7 | # FIMG VERSION : FIMGv1.5 | ||
8 | # Optimizer Options : -O --nolodcalc | ||
9 | #------------------------------------------------- | ||
10 | |||
11 | # hand optimised - removed useless ops | ||
12 | |||
13 | ps_3_0 | ||
14 | |||
15 | fimg_version 0x01020000 | ||
16 | |||
17 | dcl_s2_tex s0 | ||
18 | dcl_s2_texu s1 | ||
19 | dcl_s2_texv s2 | ||
20 | dcl_f4_col v3.x | ||
21 | dcl_f2_tex_c v0.x | ||
22 | dcl_f2_tex_c2 v1.x | ||
23 | dcl_f2_tex_c3 v2.x | ||
24 | |||
25 | def c2, 1.164000, 1.164000, 1.164000, 0.000000 | ||
26 | def c3, 0.000000, -0.344100, 1.772000, 0.000000 | ||
27 | def c4, 1.402000, -0.714100, 0.000000, 0.000000 | ||
28 | def c5, -0.773800, 0.456300, -0.958800, 1.000000 | ||
29 | def c6, 1.000000, 0.000000, 0.000000, 0.000000 | ||
30 | |||
31 | label start | ||
32 | label main_ | ||
33 | mul r0.xyzw, c6.xxyy, v0.xyyy # tex_c=v0.xyyy | ||
34 | texld r0.xyzw, r0.xyzw, s0 # tex=s0 | ||
35 | mul r1.xyzw, c6.xxyy, v1.xyyy # tex_c2=v1.xyyy | ||
36 | texld r1.xyzw, r1.xyzw, s1 # texu=s1 | ||
37 | mul r2.xyzw, c6.xxyy, v2.xyyy # tex_c3=v2.xyyy | ||
38 | texld r2.xyzw, r2.xyzw, s2 # texv=s2 | ||
39 | mul r3.xyzw, c2.xyzw, r0.xxxx # yuv=r0.xxxx | ||
40 | mad r3.xyzw, c3.xyzw, r1.xxxx, r3.xyzw # yuv=r1.xxxx | ||
41 | mad r3.xyzw, c4.xyzw, r2.xxxx, r3.xyzw # yuv=r2.xxxx | ||
42 | mov r4.xyzw, c5.xyzw | ||
43 | mad r3.xyzw, r4.xyzw, c6.xxxx, r3.xyzw # yuv=c6.xxxx | ||
44 | mul_sat oColor.xyzw, r3.xyzw, v3.xyzw # gl_FragColor=oColor.xyzw, col=v3.xyzw | ||
45 | label main_end | ||
46 | ret | ||