Kind #970: Error in shader compilation: info: %s
%s
%s
Game: クロヒョウ2 龍が如く 阿修羅編 (NPJH50562_1.01)
Error in shader compilation: info: ERROR: 0:33: 'packUnorm4x8' : can't redefine/overload built-in functions!
ERROR: 0:34: 'packUnorm4x8' : can't redefine/overload built-in functions!
ERROR: 0:37: 'unpackUnorm4x8' : can't redefine/overload built-in functions!
ERROR: 3 compilation errors. No code generated.
003c0000:00000002 Tex WriteMask TFuncMod ReplaceLogic
#version 300 es
// Driver: Adreno (TM) 308 - GLSL 300
#define DISCARD discard
precision lowp float;
precision highp int;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 003c0000:00000002 Tex WriteMask TFuncMod ReplaceLogic
precision highp int;
uniform sampler2D tex;
uniform sampler2D fbotex;
uniform uint u_colorWriteMask;
in lowp vec4 v_color0;
in mediump float v_fogdepth;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
uint packUnorm4x8(vec4 v) {
highp vec4 f = clamp(v, 0.0, 1.0);
uvec4 u = uvec4(255.0 * f);
return u.x | (u.y << 8) | (u.z << 16) | (u.w << 24);
}
vec4 unpackUnorm4x8(highp uint x) {
highp uvec4 u = uvec4(x & 0xFFU, (x >> 8) & 0xFFU, (x >> 16) & 0xFFU, (x >> 24) & 0xFFU);
highp vec4 f = vec4(u);
return f * (1.0 / 255.0);
}
void main() {
lowp vec4 destColor = texelFetch(fbotex, ivec2(gl_FragCoord.x, gl_FragCoord.y), 0);
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = vec4(t.rgb * p.rgb, p.a);
fragColor0 = v;
highp uint v32 = packUnorm4x8(fragColor0);
highp uint d32 = packUnorm4x8(destColor);
v32 = v32 | (d32 & 0x00FFFFFFu);
v32 = (v32 & u_colorWriteMask & 0x00FFFFFFu) | (d32 & (~u_colorWriteMask | 0xFF000000u));
fragColor0 = unpackUnorm4x8(v32);
}
Status: new. 4 hits from 2023-03-17 06:41:45 to 2023-04-29 18:58:28 UTC. Message #2301957.
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.