forked from enlightenment/efl
fix cedric's nv12 shader! it worked by luck only. tex_y -> tex_c in
vert shdr SVN revision: 63918
This commit is contained in:
parent
88fdfeff4c
commit
4e4e7a03a4
|
@ -9,10 +9,10 @@
|
|||
"attribute vec4 color;\n"
|
||||
"attribute vec2 tex_coord, tex_coord2;\n"
|
||||
"uniform mat4 mvp;\n"
|
||||
"varying vec2 tex_y, tex_cuv;\n"
|
||||
"varying vec2 tex_c, tex_cuv;\n"
|
||||
"void main()\n"
|
||||
"{\n"
|
||||
" gl_Position = mvp * vertex;\n"
|
||||
" tex_y = tex_coord;\n"
|
||||
" tex_c = tex_coord;\n"
|
||||
" tex_cuv = tex_coord2 * 0.5;\n"
|
||||
"}\n"
|
||||
|
|
|
@ -9,10 +9,10 @@ attribute vec4 vertex;
|
|||
attribute vec4 color;
|
||||
attribute vec2 tex_coord, tex_coord2;
|
||||
uniform mat4 mvp;
|
||||
varying vec2 tex_y, tex_cuv;
|
||||
varying vec2 tex_c, tex_cuv;
|
||||
void main()
|
||||
{
|
||||
gl_Position = mvp * vertex;
|
||||
tex_y = tex_coord;
|
||||
tex_c = tex_coord;
|
||||
tex_cuv = tex_coord2 * 0.5;
|
||||
}
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
"attribute vec2 tex_coord, tex_coord2;\n"
|
||||
"uniform mat4 mvp;\n"
|
||||
"varying vec4 col;\n"
|
||||
"varying vec2 tex_y, tex_cuv;\n"
|
||||
"varying vec2 tex_c, tex_cuv;\n"
|
||||
"void main()\n"
|
||||
"{\n"
|
||||
" gl_Position = mvp * vertex;\n"
|
||||
" col = color;\n"
|
||||
" tex_y = tex_coord;\n"
|
||||
" tex_c = tex_coord;\n"
|
||||
" tex_cuv = tex_coord2 * 0.5;\n"
|
||||
"}\n"
|
||||
|
|
|
@ -10,11 +10,11 @@ attribute vec4 color;
|
|||
attribute vec2 tex_coord, tex_coord2;
|
||||
uniform mat4 mvp;
|
||||
varying vec4 col;
|
||||
varying vec2 tex_y, tex_cuv;
|
||||
varying vec2 tex_c, tex_cuv;
|
||||
void main()
|
||||
{
|
||||
gl_Position = mvp * vertex;
|
||||
col = color;
|
||||
tex_y = tex_coord;
|
||||
tex_c = tex_coord;
|
||||
tex_cuv = tex_coord2 * 0.5;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue