all shaders -> use high precision not medium to avoid rounding errors.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 4 Oct 2011 11:21:22 +0000 (11:21 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 4 Oct 2011 11:21:22 +0000 (11:21 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@63804 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

67 files changed:
src/modules/engines/gl_common/shader/filter_blur.shd
src/modules/engines/gl_common/shader/filter_blur_bgra.shd
src/modules/engines/gl_common/shader/filter_blur_bgra_nomul.shd
src/modules/engines/gl_common/shader/filter_blur_nomul.shd
src/modules/engines/gl_common/shader/filter_blur_vert.shd
src/modules/engines/gl_common/shader/filter_greyscale.shd
src/modules/engines/gl_common/shader/filter_greyscale_bgra.shd
src/modules/engines/gl_common/shader/filter_greyscale_bgra_nomul.shd
src/modules/engines/gl_common/shader/filter_greyscale_nomul.shd
src/modules/engines/gl_common/shader/filter_invert.shd
src/modules/engines/gl_common/shader/filter_invert_bgra.shd
src/modules/engines/gl_common/shader/filter_invert_bgra_nomul.shd
src/modules/engines/gl_common/shader/filter_invert_nomul.shd
src/modules/engines/gl_common/shader/filter_sepia.shd
src/modules/engines/gl_common/shader/filter_sepia_bgra.shd
src/modules/engines/gl_common/shader/filter_sepia_bgra_nomul.shd
src/modules/engines/gl_common/shader/filter_sepia_nomul.shd
src/modules/engines/gl_common/shader/font_frag.h
src/modules/engines/gl_common/shader/font_frag.shd
src/modules/engines/gl_common/shader/font_vert.h
src/modules/engines/gl_common/shader/font_vert.shd
src/modules/engines/gl_common/shader/img_bgra_frag.h
src/modules/engines/gl_common/shader/img_bgra_frag.shd
src/modules/engines/gl_common/shader/img_bgra_nomul_frag.h
src/modules/engines/gl_common/shader/img_bgra_nomul_frag.shd
src/modules/engines/gl_common/shader/img_bgra_nomul_vert.h
src/modules/engines/gl_common/shader/img_bgra_nomul_vert.shd
src/modules/engines/gl_common/shader/img_bgra_vert.h
src/modules/engines/gl_common/shader/img_bgra_vert.shd
src/modules/engines/gl_common/shader/img_frag.h
src/modules/engines/gl_common/shader/img_frag.shd
src/modules/engines/gl_common/shader/img_mask_frag.h
src/modules/engines/gl_common/shader/img_mask_frag.shd
src/modules/engines/gl_common/shader/img_mask_vert.h
src/modules/engines/gl_common/shader/img_mask_vert.shd
src/modules/engines/gl_common/shader/img_nomul_frag.h
src/modules/engines/gl_common/shader/img_nomul_frag.shd
src/modules/engines/gl_common/shader/img_nomul_vert.h
src/modules/engines/gl_common/shader/img_nomul_vert.shd
src/modules/engines/gl_common/shader/img_vert.h
src/modules/engines/gl_common/shader/img_vert.shd
src/modules/engines/gl_common/shader/nv12_nomul_vert.shd
src/modules/engines/gl_common/shader/nv12_vert.shd
src/modules/engines/gl_common/shader/rect_frag.h
src/modules/engines/gl_common/shader/rect_frag.shd
src/modules/engines/gl_common/shader/rect_vert.h
src/modules/engines/gl_common/shader/rect_vert.shd
src/modules/engines/gl_common/shader/tex_frag.h
src/modules/engines/gl_common/shader/tex_frag.shd
src/modules/engines/gl_common/shader/tex_nomul_frag.h
src/modules/engines/gl_common/shader/tex_nomul_frag.shd
src/modules/engines/gl_common/shader/tex_nomul_vert.h
src/modules/engines/gl_common/shader/tex_nomul_vert.shd
src/modules/engines/gl_common/shader/tex_vert.h
src/modules/engines/gl_common/shader/tex_vert.shd
src/modules/engines/gl_common/shader/yuv_frag.h
src/modules/engines/gl_common/shader/yuv_frag.shd
src/modules/engines/gl_common/shader/yuv_nomul_frag.h
src/modules/engines/gl_common/shader/yuv_nomul_frag.shd
src/modules/engines/gl_common/shader/yuv_nomul_vert.h
src/modules/engines/gl_common/shader/yuv_nomul_vert.shd
src/modules/engines/gl_common/shader/yuv_vert.h
src/modules/engines/gl_common/shader/yuv_vert.shd
src/modules/engines/gl_common/shader/yuy2_frag.shd
src/modules/engines/gl_common/shader/yuy2_nomul_frag.shd
src/modules/engines/gl_common/shader/yuy2_nomul_vert.shd
src/modules/engines/gl_common/shader/yuy2_vert.shd

index 59b5809..873fbc1 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 uniform sampler1D gaussian;
index efd7932..b1377a4 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 uniform sampler1D gaussian;
index efd7932..b1377a4 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 uniform sampler1D gaussian;
index efd7932..b1377a4 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 uniform sampler1D gaussian;
index e2ca7d5..56ddc40 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec4 color;
index 014e510..9bb572d 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index ec9ac11..5952aad 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index 327e311..e47d4a2 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec2 tex_c;
index a405099..50ed6bb 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index 1e60507..cf8cf0e 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index a405099..50ed6bb 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index 63b6208..70c49d8 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index d267b9c..9a1926e 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index cdd109e..5d1558c 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index afe2222..f43af9a 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "uniform sampler2D tex;\n"
 "varying vec4 col;\n"
index cae4293..cad119d 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index ef035c8..8921d9d 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "attribute vec4 vertex;\n"
 "attribute vec4 color;\n"
index cf98501..606c297 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec4 color;
index 29449f2..91edfa1 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "uniform sampler2D tex;\n"
 "varying vec4 col;\n"
index eb65760..d4cdf22 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index d8a6338..26d3e0d 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "uniform sampler2D tex;\n"
 "varying vec2 tex_c;\n"
index 3f2ec6f..cfe1f1a 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec2 tex_c;
index 3a44f1a..13d5edd 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "attribute vec4 vertex;\n"
 "attribute vec2 tex_coord;\n"
index f4489b3..74f3207 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec2 tex_coord;
index ef035c8..8921d9d 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "attribute vec4 vertex;\n"
 "attribute vec4 color;\n"
index cf98501..606c297 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec4 color;
index e665c30..c0c07a5 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "uniform sampler2D tex;\n"
 "varying vec4 col;\n"
index ce3b517..658ae1e 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index 0571c72..58661d7 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "uniform sampler2D tex, texm;\n"
 "varying vec4 col;\n"
index 87aa2b7..1292c3a 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex, texm;
 varying vec4 col;
index 5b52e41..7508c98 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "attribute vec4 vertex;\n"
 "attribute vec4 color;\n"
index f91b545..1414870 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec4 color;
index 44cd1f7..94f0a76 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "uniform sampler2D tex;\n"
 "varying vec2 tex_c;\n"
index 1513cd3..594299d 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec2 tex_c;
index 3a44f1a..13d5edd 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "attribute vec4 vertex;\n"
 "attribute vec2 tex_coord;\n"
index f4489b3..74f3207 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec2 tex_coord;
index ef035c8..8921d9d 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "attribute vec4 vertex;\n"
 "attribute vec4 color;\n"
index cf98501..606c297 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec4 color;
index e2412ad..b61c3c3 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec4 color;
index 76eb533..68934e9 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec4 color;
index a879550..852a1b5 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "uniform sampler2D tex;\n"
 "varying vec4 col;\n"
index bb9221b..fe366c5 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index 19e1b30..51d41aa 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "attribute vec4 vertex;\n"
 "attribute vec4 color;\n"
index ea2ed93..63fea5d 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec4 color;
index 29449f2..91edfa1 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "uniform sampler2D tex;\n"
 "varying vec4 col;\n"
index eb65760..d4cdf22 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec4 col;
index d8a6338..26d3e0d 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "uniform sampler2D tex;\n"
 "varying vec2 tex_c;\n"
index 3f2ec6f..cfe1f1a 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex;
 varying vec2 tex_c;
index 3a44f1a..13d5edd 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "attribute vec4 vertex;\n"
 "attribute vec2 tex_coord;\n"
index f4489b3..74f3207 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec2 tex_coord;
index ef035c8..8921d9d 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "attribute vec4 vertex;\n"
 "attribute vec4 color;\n"
index cf98501..606c297 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec4 color;
index f02d0be..4346e1d 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "uniform sampler2D tex, texu, texv;\n"
 "varying vec4 col;\n"
index a00cd6f..a1e1b8a 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex, texu, texv;
 varying vec4 col;
index 9eeda68..6f70bec 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "uniform sampler2D tex, texu, texv;\n"
 "varying vec2 tex_c, tex_c2, tex_c3;\n"
index 3c2592d..bb5c825 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex, texu, texv;
 varying vec2 tex_c, tex_c2, tex_c3;
index 8907f30..c3f585f 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "attribute vec4 vertex;\n"
 "attribute vec2 tex_coord, tex_coord2, tex_coord3;\n"
index 24b04e4..a83d505 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec2 tex_coord, tex_coord2, tex_coord3;
index 53b08bf..6ccf06d 100644 (file)
@@ -1,5 +1,5 @@
 "#ifdef GL_ES\n"
-"precision mediump float;\n"
+"precision highp float;\n"
 "#endif\n"
 "attribute vec4 vertex;\n"
 "attribute vec4 color;\n"
index d69bf74..0ea0b2f 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec4 color;
index 64cd911..9087320 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex, texuv;
 varying vec4 col;
index 2a8d2ed..6607402 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 uniform sampler2D tex, texuv;
 varying vec2 tex_c, tex_cuv;
index ee3fd89..05acc9c 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec2 tex_coord, tex_coord2;
index 879e15c..54efb1e 100644 (file)
@@ -1,5 +1,5 @@
 #ifdef GL_ES
-precision mediump float;
+precision highp float;
 #endif
 attribute vec4 vertex;
 attribute vec4 color;