Message #2559499 - 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: GOD EATER 2 (NPJH50832_1.00)

Error in shader program link: info: L0001 The fragment floating-point variable u_texelDelta does not match the vertex variable u_texelDelta.
	The precision does not match.

fs: postshader
#version 320 es
precision mediump float;
precision highp int;

layout(binding = 0) uniform mediump sampler2D sampler0;
uniform vec2 u_texelDelta;

in vec2 v_texcoord0;
in vec2 v_texcoord1;
out vec4 _RESERVED_IDENTIFIER_FIXUP_gl_FragColor;

void main()
{
    vec2 texcoordInPixels = v_texcoord0 * v_texcoord1;
    vec2 centerCoord = floor(texcoordInPixels) + vec2(0.5);
    vec2 distFromCenter = abs(centerCoord - texcoordInPixels);
    float Y = max(distFromCenter.x, distFromCenter.y);
    Y *= Y;
    float YY = Y * Y;
    float YYY = YY * Y;
    float LineWeight = YY - (2.7000000476837158203125 * YYY);
    LineWeight = 1.0 - (14.0 * LineWeight);
    vec3 colour = texture(sampler0, u_texelDelta * centerCoord).xyz * LineWeight;
    _RESERVED_IDENTIFIER_FIXUP_gl_FragColor = vec4(colour, 1.0);
}


vs: postshader
#version 320 es

uniform vec2 u_texelDelta;

out vec2 v_texcoord0;
in vec2 a_texcoord0;
in vec4 a_position;
out vec2 v_texcoord1;

void main()
{
    v_texcoord0 = a_texcoord0;
    gl_Position = a_position;
    v_texcoord1 = vec2(1.0) / u_texelDelta;
}

Status: new. 5 hits from 2024-10-25 09:06:58 to 2024-10-25 09:08:56 UTC. Message #2559499.

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.