all shaders -> use high precision not medium to avoid rounding errors.

SVN revision: 63804
This commit is contained in:
Carsten Haitzler 2011-10-04 11:21:22 +00:00
parent 35c9a8f56c
commit 4ddeed5933
67 changed files with 67 additions and 67 deletions

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
uniform sampler1D gaussian;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
uniform sampler1D gaussian;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
uniform sampler1D gaussian;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
uniform sampler1D gaussian;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec2 tex_c;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec2 tex_c;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec2 tex_c;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec2 tex_coord;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex, texm;
varying vec4 col;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec2 tex_c;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec2 tex_coord;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec4 col;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex;
varying vec2 tex_c;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec2 tex_coord;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex, texu, texv;
varying vec4 col;

View 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"

View 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;

View 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"

View 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;

View 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"

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
uniform sampler2D tex, texuv;
varying vec4 col;

View 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;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec2 tex_coord, tex_coord2;

View File

@ -1,5 +1,5 @@
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;