only use highp *IF* compiler supports it.
SVN revision: 63880
This commit is contained in:
parent
32c2ed673b
commit
82b843d222
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"uniform sampler1D gaussian;\n"
|
"uniform sampler1D gaussian;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
uniform sampler1D gaussian;
|
uniform sampler1D gaussian;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"uniform sampler1D gaussian;\n"
|
"uniform sampler1D gaussian;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
uniform sampler1D gaussian;
|
uniform sampler1D gaussian;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"uniform sampler1D gaussian;\n"
|
"uniform sampler1D gaussian;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
uniform sampler1D gaussian;
|
uniform sampler1D gaussian;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"uniform sampler1D gaussian;\n"
|
"uniform sampler1D gaussian;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
uniform sampler1D gaussian;
|
uniform sampler1D gaussian;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec4 color;\n"
|
"attribute vec4 color;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec2 tex_c;\n"
|
"varying vec2 tex_c;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec2 tex_c;
|
varying vec2 tex_c;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec2 tex_c;\n"
|
"varying vec2 tex_c;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec2 tex_c;
|
varying vec2 tex_c;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec4 color;\n"
|
"attribute vec4 color;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec2 tex_c;\n"
|
"varying vec2 tex_c;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec2 tex_c;
|
varying vec2 tex_c;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec2 tex_coord;\n"
|
"attribute vec2 tex_coord;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec2 tex_coord;
|
attribute vec2 tex_coord;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec4 color;\n"
|
"attribute vec4 color;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex, texm;\n"
|
"uniform sampler2D tex, texm;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex, texm;
|
uniform sampler2D tex, texm;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec4 color;\n"
|
"attribute vec4 color;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec2 tex_c;\n"
|
"varying vec2 tex_c;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec2 tex_c;
|
varying vec2 tex_c;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec2 tex_coord;\n"
|
"attribute vec2 tex_coord;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec2 tex_coord;
|
attribute vec2 tex_coord;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec4 color;\n"
|
"attribute vec4 color;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex, texuv;\n"
|
"uniform sampler2D tex, texuv;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
@ -10,18 +14,18 @@
|
||||||
" y=texture2D(tex,tex_c).g;\n"
|
" y=texture2D(tex,tex_c).g;\n"
|
||||||
" u=texture2D(texuv,tex_cuv).g;\n"
|
" u=texture2D(texuv,tex_cuv).g;\n"
|
||||||
" v=texture2D(texuv,tex_cuv).a;\n"
|
" v=texture2D(texuv,tex_cuv).a;\n"
|
||||||
|
"\n"
|
||||||
" u=u-0.5;\n"
|
" u=u-0.5;\n"
|
||||||
" v=v-0.5;\n"
|
" v=v-0.5;\n"
|
||||||
" vmu=v*0.813+u*0.391;\n"
|
" vmu=v*0.813+u*0.391;\n"
|
||||||
" u=u*2.018;\n"
|
" u=u*2.018;\n"
|
||||||
" v=v*1.596;\n"
|
" v=v*1.596;\n"
|
||||||
" y=(y-0.062)*1.164;\n"
|
" y=(y-0.062)*1.164;\n"
|
||||||
|
"\n"
|
||||||
" r=y+v;\n"
|
" r=y+v;\n"
|
||||||
" g=y-vmu;\n"
|
" g=y-vmu;\n"
|
||||||
" b=y+u;\n"
|
" b=y+u;\n"
|
||||||
|
"\n"
|
||||||
" gl_FragColor=vec4(r,g,b,1.0) * col;\n"
|
" gl_FragColor=vec4(r,g,b,1.0) * col;\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
|
"\n"
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
|
precision highp float;
|
||||||
|
#else
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
uniform sampler2D tex, texuv;
|
uniform sampler2D tex, texuv;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
varying vec2 tex_c, tex_cuv;
|
varying vec2 tex_c, tex_cuv;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex, texuv;\n"
|
"uniform sampler2D tex, texuv;\n"
|
||||||
"varying vec2 tex_c, tex_cuv;\n"
|
"varying vec2 tex_c, tex_cuv;\n"
|
||||||
|
@ -9,18 +13,19 @@
|
||||||
" y=texture2D(tex,tex_c).g;\n"
|
" y=texture2D(tex,tex_c).g;\n"
|
||||||
" u=texture2D(texuv,tex_cuv).g;\n"
|
" u=texture2D(texuv,tex_cuv).g;\n"
|
||||||
" v=texture2D(texuv,tex_cuv).a;\n"
|
" v=texture2D(texuv,tex_cuv).a;\n"
|
||||||
|
"\n"
|
||||||
" u=u-0.5;\n"
|
" u=u-0.5;\n"
|
||||||
" v=v-0.5;\n"
|
" v=v-0.5;\n"
|
||||||
" vmu=v*0.813+u*0.391;\n"
|
" vmu=v*0.813+u*0.391;\n"
|
||||||
" u=u*2.018;\n"
|
" u=u*2.018;\n"
|
||||||
" v=v*1.596;\n"
|
" v=v*1.596;\n"
|
||||||
" y=(y-0.062)*1.164;\n"
|
" y=(y-0.062)*1.164;\n"
|
||||||
|
"\n"
|
||||||
" r=y+v;\n"
|
" r=y+v;\n"
|
||||||
" g=y-vmu;\n"
|
" g=y-vmu;\n"
|
||||||
" b=y+u;\n"
|
" b=y+u;\n"
|
||||||
|
"\n"
|
||||||
" gl_FragColor=vec4(r,g,b,1.0);\n"
|
" gl_FragColor=vec4(r,g,b,1.0);\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
|
"\n"
|
||||||
|
"\n"
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
|
precision highp float;
|
||||||
|
#else
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
uniform sampler2D tex, texuv;
|
uniform sampler2D tex, texuv;
|
||||||
varying vec2 tex_c, tex_cuv;
|
varying vec2 tex_c, tex_cuv;
|
||||||
void main()
|
void main()
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec4 color;\n"
|
"attribute vec4 color;\n"
|
||||||
|
@ -10,5 +14,5 @@
|
||||||
"{\n"
|
"{\n"
|
||||||
" gl_Position = mvp * vertex;\n"
|
" gl_Position = mvp * vertex;\n"
|
||||||
" tex_y = tex_coord;\n"
|
" tex_y = tex_coord;\n"
|
||||||
" tex_cuv = tex_coord2;\n"
|
" tex_cuv = tex_coord2 * 0.5;\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec4 color;\n"
|
"attribute vec4 color;\n"
|
||||||
|
@ -12,5 +16,5 @@
|
||||||
" gl_Position = mvp * vertex;\n"
|
" gl_Position = mvp * vertex;\n"
|
||||||
" col = color;\n"
|
" col = color;\n"
|
||||||
" tex_y = tex_coord;\n"
|
" tex_y = tex_coord;\n"
|
||||||
" tex_cuv = tex_coord2;\n"
|
" tex_cuv = tex_coord2 * 0.5;\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec4 color;\n"
|
"attribute vec4 color;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex;\n"
|
"uniform sampler2D tex;\n"
|
||||||
"varying vec2 tex_c;\n"
|
"varying vec2 tex_c;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex;
|
uniform sampler2D tex;
|
||||||
varying vec2 tex_c;
|
varying vec2 tex_c;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec2 tex_coord;\n"
|
"attribute vec2 tex_coord;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec2 tex_coord;
|
attribute vec2 tex_coord;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec4 color;\n"
|
"attribute vec4 color;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex, texu, texv;\n"
|
"uniform sampler2D tex, texu, texv;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex, texu, texv;
|
uniform sampler2D tex, texu, texv;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex, texu, texv;\n"
|
"uniform sampler2D tex, texu, texv;\n"
|
||||||
"varying vec2 tex_c, tex_c2, tex_c3;\n"
|
"varying vec2 tex_c, tex_c2, tex_c3;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex, texu, texv;
|
uniform sampler2D tex, texu, texv;
|
||||||
varying vec2 tex_c, tex_c2, tex_c3;
|
varying vec2 tex_c, tex_c2, tex_c3;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec2 tex_coord, tex_coord2, tex_coord3;\n"
|
"attribute vec2 tex_coord, tex_coord2, tex_coord3;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec2 tex_coord, tex_coord2, tex_coord3;
|
attribute vec2 tex_coord, tex_coord2, tex_coord3;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec4 color;\n"
|
"attribute vec4 color;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex, texuv;\n"
|
"uniform sampler2D tex, texuv;\n"
|
||||||
"varying vec4 col;\n"
|
"varying vec4 col;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex, texuv;
|
uniform sampler2D tex, texuv;
|
||||||
varying vec4 col;
|
varying vec4 col;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"uniform sampler2D tex, texuv;\n"
|
"uniform sampler2D tex, texuv;\n"
|
||||||
"varying vec2 tex_c, tex_cuv;\n"
|
"varying vec2 tex_c, tex_cuv;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
uniform sampler2D tex, texuv;
|
uniform sampler2D tex, texuv;
|
||||||
varying vec2 tex_c, tex_cuv;
|
varying vec2 tex_c, tex_cuv;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec2 tex_coord, tex_coord2;\n"
|
"attribute vec2 tex_coord, tex_coord2;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec2 tex_coord, tex_coord2;
|
attribute vec2 tex_coord, tex_coord2;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
"#ifdef GL_ES\n"
|
"#ifdef GL_ES\n"
|
||||||
|
"#ifdef GL_FRAGMENT_PRECISION_HIGH\n"
|
||||||
"precision highp float;\n"
|
"precision highp float;\n"
|
||||||
|
"#else\n"
|
||||||
|
"precision mediump float;\n"
|
||||||
|
"#endif\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"attribute vec4 vertex;\n"
|
"attribute vec4 vertex;\n"
|
||||||
"attribute vec4 color;\n"
|
"attribute vec4 color;\n"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||||
precision highp float;
|
precision highp float;
|
||||||
|
#else
|
||||||
|
precision mediump float;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
attribute vec4 vertex;
|
attribute vec4 vertex;
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
|
|
Loading…
Reference in New Issue