Message #2742550 - 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: FINAL FANTASY 零式 ディスク1 (NPJH50443_1.01)

Error in shader program link: info: Variable u_texelDelta has unmatched precision qualifier in different shaders

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;
out vec4 _gl_FragColor;

void main()
{
    vec2 uv = v_texcoord0;
    vec4 baseTex = texture(sampler0, uv);
    float sAlpha = texture(sampler0, uv - (u_texelDelta * 3.0)).w;
    vec3 color = baseTex.xyz * vec3(1.0499999523162841796875, 1.0, 1.10000002384185791015625);
    color = mix(vec3(dot(color, vec3(0.2989999949932098388671875, 0.58700001239776611328125, 0.114000000059604644775390625))), color, vec3(1.2000000476837158203125));
    color = (((color - vec3(0.5)) * 1.2000000476837158203125) + vec3(0.5)) + vec3(0.100000001490116119384765625);
    float luma = ((color.x + color.y) + color.z) * 0.3300000131130218505859375;
    vec3 shine = vec3((luma * luma) * 0.5);
    color += shine;
    vec2 vuv = uv * (vec2(1.0) - uv.yx);
    float vig = (vuv.x * vuv.y) * 15.0;
    float mask = 1.0 - (vig * 0.100000001490116119384765625);
    color *= clamp(mask, 0.699999988079071044921875, 1.0);
    vec3 finalRGB = mix(vec3(0.0), color, vec3(baseTex.w));
    float finalAlpha = max(baseTex.w, sAlpha * 0.4000000059604644775390625);
    _gl_FragColor = vec4(finalRGB, finalAlpha);
}


vs: postshader
#version 320 es

uniform vec2 u_texelDelta;

out vec2 v_texcoord0;
in vec2 a_texcoord0;
in vec4 a_position;
out vec4 v_texcoordNC0;
out vec4 v_texcoordNC1;
out vec4 v_texcoordNC2;
out vec4 v_texcoordNC3;

void main()
{
    v_texcoord0 = a_texcoord0;
    gl_Position = a_position;
    v_texcoordNC0 = a_texcoord0.xyxy + (vec4(-0.5, -0.5, -1.5, -1.5) * u_texelDelta.xyxy);
    v_texcoordNC1 = a_texcoord0.xyxy + (vec4(0.5, -0.5, 1.5, -1.5) * u_texelDelta.xyxy);
    v_texcoordNC2 = a_texcoord0.xyxy + (vec4(-0.5, 0.5, -1.5, 1.5) * u_texelDelta.xyxy);
    v_texcoordNC3 = a_texcoord0.xyxy + (vec4(0.5, 0.5, 1.5, 1.5) * u_texelDelta.xyxy);
}

Status: new. 1 hits from 2025-12-26 22:48:21 to 2025-12-26 22:48:21 UTC. Message #2742550.

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.