Message #2756314 - Error in shader compilation: info: %s %s %s

Kind #970: Error in shader compilation: info: %s %s %s

Game: eFootball 2025 by MP (MP PATCH 2526_1.01)

Error in shader compilation: info: 0:1: P0007: Language version '450' unknown, this compiler only supports up to version '320 es'
0:2: P0003: Warning: Extension 'GL_ARB_separate_shader_objects' not supported
0:3: P0003: Warning: Extension 'GL_ARB_shading_language_420pack' not supported
0:3: L0001: Typename expected, found 'layout'
0:4: L0001: Expected identifier, found '('
postshader
#version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
layout (location = 0) out vec4 fragColor0;

layout (std140, set = 0, binding = 0) uniform Data {
	vec2 u_texelDelta;
	vec2 u_pixelDelta;
	vec4 u_time;
	vec4 u_timeDelta;
	vec4 u_setting;
	float u_video;
};
// 4xGLSL HqFilter shader, Modified to use in PPSSPP. Grabbed from:
// http://forums.ngemu.com/showthread.php?t=76098

// by guest(r) ([email protected])
// License: GNU-GPL

// Shader notes: looks better with sprite games

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

layout(set = 0, binding = 1) uniform sampler2D sampler0;

layout(location = 0) in vec4 v_texcoord0;
layout(location = 1) in vec4 v_texcoord1;
layout(location = 2) in vec4 v_texcoord2;
layout(location = 3) in vec4 v_texcoord3;
layout(location = 4) in vec4 v_texcoord4;
layout(location = 5) in vec4 v_texcoord5;
layout(location = 6) in vec4 v_texcoord6;

const float mx = 0.325;    // start smoothing factor
const float k = -0.250;    // smoothing decrease factor
const float max_w = 0.25;  // max. smoothing weigth
const float min_w =-0.05;  // min smoothing/sharpening weigth

void main()
{
  vec3 c  = texture(sampler0, v_texcoord0.xy).xyz;
  vec3 i1 = texture(sampler0, v_texcoord1.xy).xyz; 
  vec3 i2 = texture(sampler0, v_texcoord2.xy).xyz; 
  vec3 i3 = texture(sampler0, v_texcoord3.xy).xyz; 
  vec3 i4 = texture(sampler0, v_texcoord4.xy).xyz; 
  vec3 o1 = texture(sampler0, v_texcoord5.xy).xyz; 
  vec3 o3 = texture(sampler0, v_texcoord6.xy).xyz; 
  vec3 o2 = texture(sampler0, v_texcoord5.zw).xyz;
  vec3 o4 = texture(sampler0, v_texcoord6.zw).xyz; 

  vec3 dt = vec3(1.0,1.0,1.0);

  float ko1=dot(abs(o1-c),dt);
  float ko2=dot(abs(o2-c),dt);
  float ko3=dot(abs(o3-c),dt);
  float ko4=dot(abs(o4-c),dt);

  float sd1 = dot(abs(i1-i3),dt);
  float sd2 = dot(abs(i2-i4),dt);

  float w1 = step(ko1,ko3)*sd2;
  float w2 = step(ko2,ko4)*sd1;
  float w3 = step(ko3,ko1)*sd2;
  float w4 = step(ko4,ko2)*sd1;

  c = (w1*o1+w2*o2+w3*o3+w4*o4+0.1*c)/(w1+w2+w3+w4+0.1);

  float lc = c.r+c.g+c.b+0.2;

  w1 = (i1.r+i1.g+i1.b+lc)*0.2; 
  w1 = clamp(k*dot(abs(c-i1),dt)/w1+mx,min_w,max_w);

  w2 = (i2.r+i2.g+i2.b+lc)*0.2; 
  w2 = clamp(k*dot(abs(c-i2),dt)/w2+mx,min_w,max_w);

  w3 = (i3.r+i3.g+i3.b+lc)*0.2;
  w3 = clamp(k*dot(abs(c-i3),dt)/w3+mx,min_w,max_w);

  w4 = (i4.r+i4.g+i4.b+lc)*0.2; 
  w4 = clamp(k*dot(abs(c-i4),dt)/w4+mx,min_w,max_w);

  fragColor0.rgb = w1*i1 + w2*i2 + w3*i3 + w4*i4 + (1.0-w1-w2-w3-w4)*c;
  fragColor0.a = 1.0;
}



Status: new. 2 hits from 2026-03-23 23:17:03 to 2026-03-23 23:17:03 UTC. Message #2756314.

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.