12-25-2013, 02:46 AM
Hi,
I compiling ppsspp SDL with the guide on Fedora 19. But when I play games, all the games don't boot, totally black screen.
Here is the error report
####################################
58:50:388 idle0 E[G3D]: /opt/ppsspp/GPU/GLES/ShaderManager.cpp:129 Could not link program:
error: all shaders must use same shading language version
58:50:388 idle0 E[G3D]: /opt/ppsspp/GPU/GLES/ShaderManager.cpp:130 VS:
#version 110
#define lowp
#define mediump
#define highp
attribute vec4 position;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj_through;
varying lowp vec4 v_color0;
varying mediump vec2 v_texcoord;
void main() {
v_texcoord = texcoord;
v_color0 = color0;
gl_Position = u_proj_through * vec4(position.xyz, 1.0);
}
58:50:388 idle0 E[G3D]: /opt/ppsspp/GPU/GLES/ShaderManager.cpp:131 FS:
#version 130
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
varying vec4 v_color0;
varying mediump vec2 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 t = texture2D(tex, v_texcoord);
vec4 p = v_color0;
vec4 v = p * t;
fragColor0 = v;
}
58:50:433 idle0 E[SCEGE]: /opt/ppsspp/GPU/GLES/Framebuffer.cpp:1316 glReadPixels: GL_INVALID_OPERATION
##################################################
I didn't know why, can anybody help me to fix this problem?
Thanks.
I compiling ppsspp SDL with the guide on Fedora 19. But when I play games, all the games don't boot, totally black screen.
Here is the error report
####################################
58:50:388 idle0 E[G3D]: /opt/ppsspp/GPU/GLES/ShaderManager.cpp:129 Could not link program:
error: all shaders must use same shading language version
58:50:388 idle0 E[G3D]: /opt/ppsspp/GPU/GLES/ShaderManager.cpp:130 VS:
#version 110
#define lowp
#define mediump
#define highp
attribute vec4 position;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj_through;
varying lowp vec4 v_color0;
varying mediump vec2 v_texcoord;
void main() {
v_texcoord = texcoord;
v_color0 = color0;
gl_Position = u_proj_through * vec4(position.xyz, 1.0);
}
58:50:388 idle0 E[G3D]: /opt/ppsspp/GPU/GLES/ShaderManager.cpp:131 FS:
#version 130
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
varying vec4 v_color0;
varying mediump vec2 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 t = texture2D(tex, v_texcoord);
vec4 p = v_color0;
vec4 v = p * t;
fragColor0 = v;
}
58:50:433 idle0 E[SCEGE]: /opt/ppsspp/GPU/GLES/Framebuffer.cpp:1316 glReadPixels: GL_INVALID_OPERATION
##################################################
I didn't know why, can anybody help me to fix this problem?
Thanks.

