Message #2478585 - Error in shader program link: info: %s fs: %s %s vs: %s %s

Kind #967: Error in shader program link: info: %s fs: %s %s vs: %s %s

Game: Assassin's Creed: Bloodlines™ (ULUS10455_1.00)

Error in shader program link: info: (unknown reason)
fs: postshader
#ifdef GL_ES
precision mediump float;
#endif
// Simple Bloom shader; created to use in PPSSPP.
// Without excessive samples and complex nested loops
// (to make it compatible with low-end GPUs and to ensure ps_2_0 compatibility).

#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif

uniform sampler2D sampler0;
varying vec2 v_texcoord0;	

uniform vec4 u_setting;

void main()
{
  //get the pixel color
  vec3 color = texture2D(sampler0, v_texcoord0.xy).xyz;
  gl_FragColor.rgb = color;
  float gray = (color.r + color.g + color.b) / 3.0;
  float saturation = (abs(color.r - gray) + abs(color.g - gray) + abs(color.b - gray)) / 3.0;
  
  //show the effect mainly on bright parts of the screen
  float step = 0.001 * gray / max(saturation, 0.25) * u_setting.x;

  //sum the neightbor pixels
  vec3 sum = vec3(0);
  for (int x = -3; x <= 3; x += 2)
  {
    for (int y = -3; y <= 3; y += 2)
    {
      color = texture2D(sampler0, v_texcoord0 + vec2(x, y)*step).xyz;
      gray = (color.r + color.g + color.b) / 3.0;
      saturation = (abs(color.r - gray) + abs(color.g - gray) + abs(color.b - gray)) / 3.0;
      sum += color * gray * gray / max(saturation, 0.25);
    }
  }
  sum /= 16.0;

  //mix the color
  gl_FragColor.rgb += sum * u_setting.y;
  gl_FragColor.a = 1.0;
}

vs: postshader
#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif

attribute vec4 a_position;
attribute vec2 a_texcoord0;
varying vec2 v_texcoord0;
void main() {
  v_texcoord0 = a_texcoord0;
  gl_Position = a_position;
}

Status: new. 2 hits from 2024-04-20 06:25:35 to 2024-04-20 06:25:36 UTC. Message #2478585.

Individual reports are stored since 2026-11-12, the newest 100 per message; none for this message yet. Older hits only exist as the counters above. Hover a cell for details.