Message #2334985 - 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: Gran Turismo® (UCUS98632_1.00)

Error in shader program link: info: Vertex info
-----------
0(2) : error C0121: #version 300 must be followed by es
0(2) : error C0201: unsupported version 300
0(6) : error C7532: global type vec2 requires "#version 100" or later
0(6) : error C5060: out can't be used with non-varying v_texcoord0
0(8) : error C7532: global type vec4 requires "#version 100" or later
0(13) : error C7532: global variable gl_Position requires "#version 100" or later

Fragment info
-------------
0(2) : error C0121: #version 300 must be followed by es
0(2) : error C0201: unsupported version 300
0(6) : error C7532: global type sampler2D requires "#version 100" or later
0(8) : error C7532: global type vec2 requires "#version 100" or later
0(9) : error C7532: global type vec4 requires "#version 100" or later
0(9) : error C5060: out can't be used with non-varying _gl_FragColor
0(10) : error C7532: global type float requires "#version 100" or later
0(18) : error C7532: global function fract requires "#version 100" or later
0(18) : error C7532: global function cos requires "#version 100" or later
0(19) : error C7532: global function texture requires "#version 130" or later
0(22) : error C7532: global function dot requires "#version 100" or later
0(23) : error C7532: global function mix requires "#version 100" or later

fs: postshader
#version 300
#ifdef GL_ARB_shading_language_420pack
#extension GL_ARB_shading_language_420pack : require
#endif

uniform sampler2D sampler0;

in vec2 v_texcoord0;
out vec4 _gl_FragColor;
float amount;
float intensity;

void main()
{
    amount = 1.0;
    intensity = 0.5;
    float pos0 = ((v_texcoord0.y + 1.0) * 170.0) * amount;
    float pos1 = cos(((fract(pos0) - 0.5) * 3.141592502593994140625) * intensity) * 1.5;
    vec4 rgb = texture(sampler0, v_texcoord0);
    vec4 color = (rgb * 0.5) + (((rgb * 0.5) * rgb) * 1.2000000476837158203125);
    color *= vec4(0.89999997615814208984375, 1.0, 0.699999988079071044921875, 0.0);
    color *= (1.10000002384185791015625 - (0.60000002384185791015625 * (dot(v_texcoord0 - vec2(0.5), v_texcoord0 - vec2(0.5)) * 2.0)));
    _gl_FragColor = mix(vec4(0.0), color, vec4(pos1));
}


vs: postshader
#version 300
#ifdef GL_ARB_shading_language_420pack
#extension GL_ARB_shading_language_420pack : require
#endif

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

void main()
{
    v_texcoord0 = a_texcoord0;
    gl_Position = a_position;
    gl_Position.z = 2.0 * gl_Position.z - gl_Position.w;
}

Status: new. 1 hits from 2023-05-21 18:25:40 to 2023-05-21 18:25:40 UTC. Message #2334985.

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.