Message #2559498 - 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;

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

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

void main()
{
    vec2 texcoordInPixels = ((v_texcoord0 * v_texcoord1) * 272.0) * u_texelDelta.y;
    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, v_texcoord0).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. 3 hits from 2024-10-25 09:05:32 to 2024-10-25 09:06:06 UTC. Message #2559498.

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.