OpenGLShader::compile(Fragment): 0:2(24): error: attribute' variables may not be declared in the fragment shader
attribute' variables may not be declared in the fragment shader
0:2(24): error: illegal type for a varying variable
0:2(50): error:
0:2(50): error: illegal type for a varying variable
0:2(107): error: `gl_Position' undeclared
0:2(117): error: type mismatch
0:2(141): error: type mismatch
*** Problematic Fragment shader source code ***
#define lowp
#define mediump
#define highp
#line 1
attribute vec4 vertexIn; attribute vec2 textureIn; varying vec2 textureOut; void main(void) { gl_Position = vertexIn; textureOut = textureIn; }
QOpenGLShader::compile(Vertex): 0:2(334): error: `gl_FragColor' undeclared
0:2(334): error: value of type vec4 cannot be assigned to variable of type error
*** Problematic Vertex shader source code ***
#define lowp
#define mediump
#define highp
#line 1
varying vec2 textureOut; uniform sampler2D tex_y; uniform sampler2D tex_uv; void main(void) { vec3 yuv; vec3 rgb; yuv.x = texture2D(tex_y, textureOut).r; yuv.y = texture2D(tex_uv, textureOut).r - 0.5; yuv.z = texture2D(tex_uv, textureOut).a - 0.5; rgb = mat3( 1, 1, 1, 0, -0.39465, 2.03211, 1.13983, -0.58060, 0) * yuv; gl_FragColor = vec4(rgb, 1); }
QOpenGLShader::link: "error: linking with uncompiled shadererror: linking with uncompiled shader"
QOpenGLShader::link: "error: linking with uncompiled shadererror: linking with uncompiled shader"
QOpenGLShaderProgram::uniformLocation( tex_y ): shader program is not linked
QOpenGLShaderProgram::uniformLocation( tex_uv ): shader program is not linked