From 7f5cd508643c0ee0f82bad30b94340d589f9ca04 Mon Sep 17 00:00:00 2001 From: Woo Seungsoo Date: Wed, 12 Oct 2011 13:21:20 +0900 Subject: [PATCH] Float precision of vertex shader is fixed Change-Id: I34305a20bfc2bff6ae5693e1db1ce5a3e830ef1c --- src/modules/engines/gl_common/shader/filter_blur_vert.h | 4 ---- src/modules/engines/gl_common/shader/filter_blur_vert.shd | 4 ---- src/modules/engines/gl_common/shader/font_vert.h | 4 ---- src/modules/engines/gl_common/shader/font_vert.shd | 4 ---- src/modules/engines/gl_common/shader/img_bgra_nomul_vert.h | 4 ---- src/modules/engines/gl_common/shader/img_bgra_nomul_vert.shd | 4 ---- src/modules/engines/gl_common/shader/img_bgra_vert.h | 4 ---- src/modules/engines/gl_common/shader/img_bgra_vert.shd | 4 ---- src/modules/engines/gl_common/shader/img_mask_vert.h | 4 ---- src/modules/engines/gl_common/shader/img_mask_vert.shd | 4 ---- src/modules/engines/gl_common/shader/img_nomul_vert.h | 4 ---- src/modules/engines/gl_common/shader/img_nomul_vert.shd | 4 ---- src/modules/engines/gl_common/shader/img_vert.h | 4 ---- src/modules/engines/gl_common/shader/img_vert.shd | 4 ---- src/modules/engines/gl_common/shader/nv12_nomul_vert.h | 4 ---- src/modules/engines/gl_common/shader/nv12_nomul_vert.shd | 4 ---- src/modules/engines/gl_common/shader/nv12_vert.h | 4 ---- src/modules/engines/gl_common/shader/nv12_vert.shd | 4 ---- src/modules/engines/gl_common/shader/rect_vert.h | 4 ---- src/modules/engines/gl_common/shader/rect_vert.shd | 4 ---- src/modules/engines/gl_common/shader/tex_nomul_vert.h | 4 ---- src/modules/engines/gl_common/shader/tex_nomul_vert.shd | 4 ---- src/modules/engines/gl_common/shader/tex_vert.h | 4 ---- src/modules/engines/gl_common/shader/tex_vert.shd | 4 ---- src/modules/engines/gl_common/shader/yuv_nomul_vert.h | 4 ---- src/modules/engines/gl_common/shader/yuv_nomul_vert.shd | 4 ---- src/modules/engines/gl_common/shader/yuv_vert.h | 4 ---- src/modules/engines/gl_common/shader/yuv_vert.shd | 4 ---- src/modules/engines/gl_common/shader/yuy2_nomul_vert.h | 4 ---- src/modules/engines/gl_common/shader/yuy2_nomul_vert.shd | 4 ---- src/modules/engines/gl_common/shader/yuy2_vert.h | 4 ---- src/modules/engines/gl_common/shader/yuy2_vert.shd | 4 ---- 32 files changed, 128 deletions(-) diff --git a/src/modules/engines/gl_common/shader/filter_blur_vert.h b/src/modules/engines/gl_common/shader/filter_blur_vert.h index 758bd9d..d38f412 100644 --- a/src/modules/engines/gl_common/shader/filter_blur_vert.h +++ b/src/modules/engines/gl_common/shader/filter_blur_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec4 color;\n" diff --git a/src/modules/engines/gl_common/shader/filter_blur_vert.shd b/src/modules/engines/gl_common/shader/filter_blur_vert.shd index 052df89..56ddc40 100644 --- a/src/modules/engines/gl_common/shader/filter_blur_vert.shd +++ b/src/modules/engines/gl_common/shader/filter_blur_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec4 color; diff --git a/src/modules/engines/gl_common/shader/font_vert.h b/src/modules/engines/gl_common/shader/font_vert.h index 19fb72f..8921d9d 100644 --- a/src/modules/engines/gl_common/shader/font_vert.h +++ b/src/modules/engines/gl_common/shader/font_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec4 color;\n" diff --git a/src/modules/engines/gl_common/shader/font_vert.shd b/src/modules/engines/gl_common/shader/font_vert.shd index efc0a92..606c297 100644 --- a/src/modules/engines/gl_common/shader/font_vert.shd +++ b/src/modules/engines/gl_common/shader/font_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec4 color; diff --git a/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.h b/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.h index 75e301f..13d5edd 100644 --- a/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.h +++ b/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec2 tex_coord;\n" diff --git a/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.shd b/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.shd index 22836c6..74f3207 100644 --- a/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.shd +++ b/src/modules/engines/gl_common/shader/img_bgra_nomul_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec2 tex_coord; diff --git a/src/modules/engines/gl_common/shader/img_bgra_vert.h b/src/modules/engines/gl_common/shader/img_bgra_vert.h index 19fb72f..8921d9d 100644 --- a/src/modules/engines/gl_common/shader/img_bgra_vert.h +++ b/src/modules/engines/gl_common/shader/img_bgra_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec4 color;\n" diff --git a/src/modules/engines/gl_common/shader/img_bgra_vert.shd b/src/modules/engines/gl_common/shader/img_bgra_vert.shd index efc0a92..606c297 100644 --- a/src/modules/engines/gl_common/shader/img_bgra_vert.shd +++ b/src/modules/engines/gl_common/shader/img_bgra_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec4 color; diff --git a/src/modules/engines/gl_common/shader/img_mask_vert.h b/src/modules/engines/gl_common/shader/img_mask_vert.h index 91d2716..7508c98 100644 --- a/src/modules/engines/gl_common/shader/img_mask_vert.h +++ b/src/modules/engines/gl_common/shader/img_mask_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec4 color;\n" diff --git a/src/modules/engines/gl_common/shader/img_mask_vert.shd b/src/modules/engines/gl_common/shader/img_mask_vert.shd index 2cd02a6..1414870 100644 --- a/src/modules/engines/gl_common/shader/img_mask_vert.shd +++ b/src/modules/engines/gl_common/shader/img_mask_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec4 color; diff --git a/src/modules/engines/gl_common/shader/img_nomul_vert.h b/src/modules/engines/gl_common/shader/img_nomul_vert.h index 75e301f..13d5edd 100644 --- a/src/modules/engines/gl_common/shader/img_nomul_vert.h +++ b/src/modules/engines/gl_common/shader/img_nomul_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec2 tex_coord;\n" diff --git a/src/modules/engines/gl_common/shader/img_nomul_vert.shd b/src/modules/engines/gl_common/shader/img_nomul_vert.shd index 22836c6..74f3207 100644 --- a/src/modules/engines/gl_common/shader/img_nomul_vert.shd +++ b/src/modules/engines/gl_common/shader/img_nomul_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec2 tex_coord; diff --git a/src/modules/engines/gl_common/shader/img_vert.h b/src/modules/engines/gl_common/shader/img_vert.h index 19fb72f..8921d9d 100644 --- a/src/modules/engines/gl_common/shader/img_vert.h +++ b/src/modules/engines/gl_common/shader/img_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec4 color;\n" diff --git a/src/modules/engines/gl_common/shader/img_vert.shd b/src/modules/engines/gl_common/shader/img_vert.shd index efc0a92..606c297 100644 --- a/src/modules/engines/gl_common/shader/img_vert.shd +++ b/src/modules/engines/gl_common/shader/img_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec4 color; diff --git a/src/modules/engines/gl_common/shader/nv12_nomul_vert.h b/src/modules/engines/gl_common/shader/nv12_nomul_vert.h index 819ae51..8ad060f 100644 --- a/src/modules/engines/gl_common/shader/nv12_nomul_vert.h +++ b/src/modules/engines/gl_common/shader/nv12_nomul_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec4 color;\n" diff --git a/src/modules/engines/gl_common/shader/nv12_nomul_vert.shd b/src/modules/engines/gl_common/shader/nv12_nomul_vert.shd index 77fe807..ddd0d6e 100644 --- a/src/modules/engines/gl_common/shader/nv12_nomul_vert.shd +++ b/src/modules/engines/gl_common/shader/nv12_nomul_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec4 color; diff --git a/src/modules/engines/gl_common/shader/nv12_vert.h b/src/modules/engines/gl_common/shader/nv12_vert.h index 4574a46..669f181 100644 --- a/src/modules/engines/gl_common/shader/nv12_vert.h +++ b/src/modules/engines/gl_common/shader/nv12_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec4 color;\n" diff --git a/src/modules/engines/gl_common/shader/nv12_vert.shd b/src/modules/engines/gl_common/shader/nv12_vert.shd index d24ed73..ee9238c 100644 --- a/src/modules/engines/gl_common/shader/nv12_vert.shd +++ b/src/modules/engines/gl_common/shader/nv12_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec4 color; diff --git a/src/modules/engines/gl_common/shader/rect_vert.h b/src/modules/engines/gl_common/shader/rect_vert.h index 22d38e5..51d41aa 100644 --- a/src/modules/engines/gl_common/shader/rect_vert.h +++ b/src/modules/engines/gl_common/shader/rect_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec4 color;\n" diff --git a/src/modules/engines/gl_common/shader/rect_vert.shd b/src/modules/engines/gl_common/shader/rect_vert.shd index e1966ee..63fea5d 100644 --- a/src/modules/engines/gl_common/shader/rect_vert.shd +++ b/src/modules/engines/gl_common/shader/rect_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec4 color; diff --git a/src/modules/engines/gl_common/shader/tex_nomul_vert.h b/src/modules/engines/gl_common/shader/tex_nomul_vert.h index 75e301f..13d5edd 100644 --- a/src/modules/engines/gl_common/shader/tex_nomul_vert.h +++ b/src/modules/engines/gl_common/shader/tex_nomul_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec2 tex_coord;\n" diff --git a/src/modules/engines/gl_common/shader/tex_nomul_vert.shd b/src/modules/engines/gl_common/shader/tex_nomul_vert.shd index 22836c6..74f3207 100644 --- a/src/modules/engines/gl_common/shader/tex_nomul_vert.shd +++ b/src/modules/engines/gl_common/shader/tex_nomul_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec2 tex_coord; diff --git a/src/modules/engines/gl_common/shader/tex_vert.h b/src/modules/engines/gl_common/shader/tex_vert.h index 19fb72f..8921d9d 100644 --- a/src/modules/engines/gl_common/shader/tex_vert.h +++ b/src/modules/engines/gl_common/shader/tex_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec4 color;\n" diff --git a/src/modules/engines/gl_common/shader/tex_vert.shd b/src/modules/engines/gl_common/shader/tex_vert.shd index efc0a92..606c297 100644 --- a/src/modules/engines/gl_common/shader/tex_vert.shd +++ b/src/modules/engines/gl_common/shader/tex_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec4 color; diff --git a/src/modules/engines/gl_common/shader/yuv_nomul_vert.h b/src/modules/engines/gl_common/shader/yuv_nomul_vert.h index 3201b54..c3f585f 100644 --- a/src/modules/engines/gl_common/shader/yuv_nomul_vert.h +++ b/src/modules/engines/gl_common/shader/yuv_nomul_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec2 tex_coord, tex_coord2, tex_coord3;\n" diff --git a/src/modules/engines/gl_common/shader/yuv_nomul_vert.shd b/src/modules/engines/gl_common/shader/yuv_nomul_vert.shd index 6bfd706..a83d505 100644 --- a/src/modules/engines/gl_common/shader/yuv_nomul_vert.shd +++ b/src/modules/engines/gl_common/shader/yuv_nomul_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec2 tex_coord, tex_coord2, tex_coord3; diff --git a/src/modules/engines/gl_common/shader/yuv_vert.h b/src/modules/engines/gl_common/shader/yuv_vert.h index 092f7a2..6ccf06d 100644 --- a/src/modules/engines/gl_common/shader/yuv_vert.h +++ b/src/modules/engines/gl_common/shader/yuv_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec4 color;\n" diff --git a/src/modules/engines/gl_common/shader/yuv_vert.shd b/src/modules/engines/gl_common/shader/yuv_vert.shd index 7dd5153..0ea0b2f 100644 --- a/src/modules/engines/gl_common/shader/yuv_vert.shd +++ b/src/modules/engines/gl_common/shader/yuv_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec4 color; diff --git a/src/modules/engines/gl_common/shader/yuy2_nomul_vert.h b/src/modules/engines/gl_common/shader/yuy2_nomul_vert.h index ec8b8f8..4620b66 100644 --- a/src/modules/engines/gl_common/shader/yuy2_nomul_vert.h +++ b/src/modules/engines/gl_common/shader/yuy2_nomul_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec2 tex_coord, tex_coord2;\n" diff --git a/src/modules/engines/gl_common/shader/yuy2_nomul_vert.shd b/src/modules/engines/gl_common/shader/yuy2_nomul_vert.shd index a7234b3..05acc9c 100644 --- a/src/modules/engines/gl_common/shader/yuy2_nomul_vert.shd +++ b/src/modules/engines/gl_common/shader/yuy2_nomul_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec2 tex_coord, tex_coord2; diff --git a/src/modules/engines/gl_common/shader/yuy2_vert.h b/src/modules/engines/gl_common/shader/yuy2_vert.h index fe9bca1..1e49018 100644 --- a/src/modules/engines/gl_common/shader/yuy2_vert.h +++ b/src/modules/engines/gl_common/shader/yuy2_vert.h @@ -1,9 +1,5 @@ "#ifdef GL_ES\n" -"#ifdef GL_FRAGMENT_PRECISION_HIGH\n" "precision highp float;\n" -"#else\n" -"precision mediump float;\n" -"#endif\n" "#endif\n" "attribute vec4 vertex;\n" "attribute vec4 color;\n" diff --git a/src/modules/engines/gl_common/shader/yuy2_vert.shd b/src/modules/engines/gl_common/shader/yuy2_vert.shd index c16ab00..54efb1e 100644 --- a/src/modules/engines/gl_common/shader/yuy2_vert.shd +++ b/src/modules/engines/gl_common/shader/yuy2_vert.shd @@ -1,9 +1,5 @@ #ifdef GL_ES -#ifdef GL_FRAGMENT_PRECISION_HIGH precision highp float; -#else -precision mediump float; -#endif #endif attribute vec4 vertex; attribute vec4 color; -- 2.7.4