To see your stuff show here, enable Compatibility Server Reports in PPSSPP.
Click on a version, game, or report message to show similar entries. Hover over version to see platform info, and hover over a game title to see region and version info.
| Game title |
Version |
Latest Report |
Hits |
Message |
| XV3 v7 by LegendCrack Z SUSCRIBE. |
v1.18.1 |
2024-11-29 |
3 |
MIPSCompileOp: Invalid instruction 43253a94 |
| XV3 v7 by LegendCrack Z SUSCRIBE. |
v1.18.1 |
2024-11-29 |
6 |
MIPSCompileOp: Invalid instruction 433e0000 |
| XV3 v7 by LegendCrack Z SUSCRIBE. |
v1.18.1 |
2024-11-29 |
8 |
MIPSCompileOp: Invalid instruction 41a60c40 |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2024-11-29 |
1 |
WriteToHardware: Invalid address 74aaabe7 near PC 089adbb4 LR 089adbb4 |
| 初音ミク -Project DIVA- extend |
v1.18.1 |
2024-11-29 |
1 |
00000000=sceUtilityScreenshotInitStart(097c9220) |
| WWE 2K14 |
v1.18.1 |
2024-11-29 |
1 |
80630007=sceAtracSetData(3, 08d4b180, 00012008): atracID uses different codec type than data |
| 初音ミク -Project DIVA- extend |
v1.18.1 |
2024-11-29 |
1 |
00000000=sceUtilityScreenshotInitStart(092e6608) |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2025-02-12 |
3 |
MIPSCompileOp: Invalid instruction cc946a09 |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2025-02-12 |
3 |
MIPSCompileOp: Invalid instruction 7f946a09 |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2025-02-12 |
3 |
MIPSCompileOp: Invalid instruction 07946a09 |
| DRAGON BALL Z SPARKING ZERO |
v1.18.1 |
2026-10-27 |
21 |
WriteToHardware: Invalid address 00000000 near PC 0887d15c LR 0887d15c |
| 初音ミク -Project DIVA- extend |
v1.18.1 |
2024-11-29 |
1 |
00000000=sceUtilityScreenshotInitStart(094a2020) |
| NARUTO SHIPPUDEN: Ultimate Ninja Impact |
v1.18.1 |
2024-11-29 |
1 |
00000000=sceUtilityScreenshotInitStart(09cab5e8) |
| NARUTO SHIPPUDEN: Ultimate Ninja Impact |
v1.18.1 |
2024-11-29 |
1 |
00000000=sceUtilityScreenshotInitStart(09cab5a8) |
| Prince of Persia - Rival Swords |
v1.18.1 |
2024-11-29 |
1 |
Block transfer invalid: 00a992f0/0 -> 00000000/0, 2x1x2 (359,654)->(80,652) |
| Def Jam® Fight For NY™: The Takeover |
v1.18.1 |
2024-11-29 |
1 |
UNTESTED sceNetAdhocctlJoinEnterGameMode(520cb61, 3c:1d:54:31:7d:f7, 20000000, 0) at 0897eeec |
| Def Jam® Fight For NY™: The Takeover |
v1.18.1 |
2024-11-29 |
1 |
UNTESTED sceNetAdhocctlCreateEnterGameMode(520cb61, 1, 2, 09fbf960, 20000000, 0) at 0897ec84 |
| いくぜっ!源さん ~夕焼け大工物語~ |
v1.18.1 |
2024-11-30 |
2 |
scePsmfPlayerSetPsmf*: incorrect PSMF magic (00000000), bad data |
| Marvel™ Ultimate Alliance |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 00010101 |
| Marvel™ Ultimate Alliance |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 00000101 |
| Marvel™ Ultimate Alliance |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 74615f72 |
| Marvel™ Ultimate Alliance |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 73616d73 |
| Marvel™ Ultimate Alliance |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 6b636174 |
| The Warriors® |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 0000243f |
| クロヒョウ 龍が如く新章 |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 05360533 |
| クロヒョウ 龍が如く新章 |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 00cafeb7 |
| クロヒョウ 龍が如く新章 |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 060506f6 |
| クロヒョウ 龍が如く新章 |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 046703cc |
| クロヒョウ 龍が如く新章 |
v1.18.1 |
2024-11-29 |
1 |
Branch in branch delay slot at 09fff478 with different target |
| クロヒョウ 龍が如く新章 |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 05ed071e |
| โทคิเด็น คิวามิ - แพทช์อังกฤษ v3.0 โดย HoaiTrung 97 FT |
v1.18.1 |
2024-11-29 |
1 |
WriteToHardware: Invalid address 00000000 near PC 088e98e0 LR 088e93e4 |
| FIFA 14 - Es |
v1.18.1 |
2024-11-29 |
1 |
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;
uniform float u_video;
layout(binding = 0) uniform mediump sampler2D sampler0;
uniform vec2 u_texelDelta;
uniform vec2 u_pixelDelta;
uniform vec4 u_time;
in vec2 v_texcoord0;
out vec4 _RESERVED_IDENTIFIER_FIXUP_gl_FragColor;
in vec4 v_texcoord1;
in vec4 v_texcoord2;
in vec4 v_texcoord3;
in vec4 v_texcoord4;
in vec2 v_texcoord5;
vec3 texture2d(vec2 texcoord)
{
float scaleGuest_AA4o = 7.0;
if (true && (u_video == 1.0))
{
scaleGuest_AA4o = 3.0;
}
vec4 yx = vec4(0.00208333344198763370513916015625, 0.00367647060193121433258056640625, -0.00208333344198763370513916015625, -0.00367647060193121433258056640625) / vec4(scaleGuest_AA4o);
vec4 xy = vec4(0.0041666668839752674102783203125, 0.0073529412038624286651611328125, -0.0041666668839752674102783203125, -0.0073529412038624286651611328125) / vec4(scaleGuest_AA4o);
vec3 s00 = texture(sampler0, texcoord + yx.zw).xyz;
vec3 s20 = texture(sampler0, texcoord + yx.xw).xyz;
vec3 s22 = texture(sampler0, texcoord + yx.xy).xyz;
vec3 s02 = texture(sampler0, texcoord + yx.zy).xyz;
float m1 = dot(abs(s00 - s22), vec3(1.0)) + 0.001000000047497451305389404296875;
float m2 = dot(abs(s02 - s20), vec3(1.0)) + 0.001000000047497451305389404296875;
return ((((s00 + s22) * m2) + ((s02 + s20) * m1)) * 0.5) / vec3(m1 + m2);
}
vec3 texture2dd(vec2 texcoord)
{
float scaleGuest_AA4o = 7.0;
if (true && (u_video == 1.0))
{
scaleGuest_AA4o = 3.0;
}
vec4 yx = vec4(0.00208333344198763370513916015625, 0.00367647060193121433258056640625, -0.00208333344198763370513916015625, -0.00367647060193121433258056640625) / vec4(scaleGuest_AA4o);
vec4 xy = vec4(0.0041666668839752674102783203125, 0.0073529412038624286651611328125, -0.0041666668839752674102783203125, -0.0073529412038624286651611328125) / vec4(scaleGuest_AA4o);
vec3 c11 = texture(sampler0, texcoord).xyz;
vec3 c00 = texture(sampler0, texcoord + xy.zw).xyz;
vec3 c20 = texture(sampler0, texcoord + xy.xw).xyz;
vec3 c22 = texture(sampler0, texcoord + xy.xy).xyz;
vec3 c02 = texture(sampler0, texcoord + xy.zy).xyz;
vec3 s00 = texture(sampler0, texcoord + yx.zw).xyz;
vec3 s20 = texture(sampler0, texcoord + yx.xw).xyz;
vec3 s22 = texture(sampler0, texcoord + yx.xy).xyz;
vec3 s02 = texture(sampler0, texcoord + yx.zy).xyz;
float d1 = dot(abs(c00 - c22), vec3(1.0)) + 0.001000000047497451305389404296875;
float d2 = dot(abs(c20 - c02), vec3(1.0)) + 0.001000000047497451305389404296875;
float m1 = dot(abs(s00 - s22), vec3(1.0)) + 0.001000000047497451305389404296875;
float m2 = dot(abs(s02 - s20), vec3(1.0)) + 0.001000000047497451305389404296875;
vec3 t2 = (((c20 + c02) * d1) + ((c00 + c22) * d2)) / vec3(2.0 * (d1 + d2));
return ((c11 + t2) + ((((s00 + s22) * m2) + ((s02 + s20) * m1)) / vec3(m1 + m2))) * 0.25;
}
vec3 processGuestAA4o()
{
float scaleGuest_AA4o = 7.0;
if (true && (u_video == 1.0))
{
scaleGuest_AA4o = 3.0;
}
vec2 size = vec2(480.0, 272.0) * scaleGuest_AA4o;
vec2 inv_size = vec2(0.00208333344198763370513916015625, 0.00367647060193121433258056640625) / vec2(scaleGuest_AA4o);
vec2 OGL2Pos = v_texcoord0 * size;
vec2 fp = fract(OGL2Pos);
vec2 dx = vec2(inv_size.x, 0.0);
vec2 dy = vec2(0.0, inv_size.y);
vec2 g1 = vec2(inv_size.x, inv_size.y);
vec2 g2 = vec2(-inv_size.x, inv_size.y);
vec2 pC4 = (floor(OGL2Pos) * inv_size) + (inv_size * 0.5);
vec2 param = pC4 - g1;
vec3 C0 = texture2d(param);
vec2 param_1 = pC4 - dy;
vec3 C1 = texture2d(param_1);
vec2 param_2 = pC4 - g2;
vec3 C2 = texture2d(param_2);
vec2 param_3 = pC4 - dx;
vec3 C3 = texture2d(param_3);
vec2 param_4 = pC4;
vec3 C4 = texture2d(param_4);
vec2 param_5 = pC4 + dx;
vec3 C5 = texture2d(param_5);
vec2 param_6 = pC4 + g2;
vec3 C6 = texture2d(param_6);
vec |
| Assassin's Creed: Bloodlines™ |
v1.18.1 |
2024-11-29 |
1 |
UNIMPL sceIoDevctl("usbpspcm:", 03415002, 09d59d74, 4, 00000000, 0) |
| Assassin's Creed: Bloodlines™ |
v1.18.1 |
2024-11-29 |
1 |
UNIMPL sceIoDevctl("usbpspcm:", 03415001, 09d59d74, 4, 00000000, 0) |
| NBA2K13 |
v1.18.1 |
2024-11-29 |
1 |
Failed to truncate file. |
| Assassin's Creed: Bloodlines™ |
v1.18.1 |
2024-11-29 |
1 |
UNIMPL sceIoDevctl("usbpspcm:", 03415002, 09c29ea4, 4, 00000000, 0) |
| Assassin's Creed: Bloodlines™ |
v1.18.1 |
2024-11-29 |
1 |
UNIMPL sceIoDevctl("usbpspcm:", 03415001, 09c29ea4, 4, 00000000, 0) |
| Def Jam® Fight For NY™: The Takeover |
v1.18.1 |
2024-11-29 |
1 |
UNTESTED sceNetAdhocctlCreateEnterGameMode(9fe624b, 1, 2, 09fbf960, 20000000, 0) at 0897ec84 |
| Gran Turismo® |
v1.18.1 |
2024-11-29 |
1 |
MIPSCompileOp: Invalid instruction 70755320 |
| Gran Turismo® |
v1.18.1 |
2025-06-02 |
2 |
MIPSCompileOp: Invalid instruction 6e695220 |
| X-Men Origins: Wolverine |
v1.18.1 |
2024-11-29 |
1 |
WriteToHardware: Invalid address 00000158 near PC 08bbf3f0 LR 08bbf410 |
| Def Jam® Fight For NY™: The Takeover |
v1.18.1 |
2024-11-29 |
1 |
sceKernelRegisterSubIntrHandler(30, 0, 08805a28, 000008ab): duplicate handler |
| BOMBERMAN LAND |
v1.18.1 |
2024-11-29 |
1 |
UNTESTED sceNetAdhocctlCreateEnterGameMode(T, 1, 2, 09fff634, 20000000, 0) at 08911db0 |
| Tales of Eternia |
v1.19.3-1389-g894cab324 |
2026-11-05 |
96 |
ELF relocation HI16/LO16 with mismatching r_info lo=00010006, hi=00000005 |
| Tales of Eternia |
v1.19.3-1389-g894cab324 |
2026-11-05 |
89 |
ELF relocation HI16/0 pair (instead of LO16) at 0896fdb8 / 0896fe4c |
| eFootball Chelito 19 |
v1.18.1 |
2025-12-30 |
4 |
Unknown GetPointerWrite 783264c0 PC 0884c220 LR 08820e88 |
| Tom Clancy's Splinter Cell® Essentials |
v1.18.1 |
2024-11-28 |
1 |
MIPSCompileOp: Invalid instruction 00005338 |
| NARUTO SHIPPUDEN: Ultimate Ninja Impact |
v1.18.1 |
2024-11-28 |
1 |
00000000=sceUtilityScreenshotInitStart(09d3ab28) |
| NARUTO SHIPPUDEN: Ultimate Ninja Impact |
v1.18.1 |
2024-11-28 |
1 |
Branch in JumpReg delay slot at 09c60234 in block starting at 09c60220 |
| Assassin's Creed: Bloodlines™ |
v1.18.1 |
2024-11-28 |
1 |
UNIMPL sceIoDevctl("usbpspcm:", 03415002, 09c7be34, 4, 00000000, 0) |
| Assassin's Creed: Bloodlines™ |
v1.18.1 |
2024-11-28 |
1 |
UNIMPL sceIoDevctl("usbpspcm:", 03415001, 09c7be34, 4, 00000000, 0) |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2024-12-07 |
2 |
Branch in branch delay slot at 0964c640 with different target |
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: ERROR: 0:39: 'length' : no matching overloaded function found
ERROR: 0:39: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 00000000:00000120 HWX Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 0) in vec3 position;
layout (location = 1) out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(0.0, 0.0, 1.0, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
v_color0 = u_matambientalpha;
v_color0.r += 0.000001;
v_texcoord = splat3(0.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
vec3 projPos = outPos.xyz / outPos.w;
float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) {
if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
if (u_cullRangeMin.w <= 0.0) {
if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
gl_Position = outPos;
if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: ERROR: 0:55: 'length' : no matching overloaded function found
ERROR: 0:55: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 01000000:80000928 HWX C T Light: LightUberShader Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (std140, set = 0, binding = 4) uniform lightVars {
vec4 u_ambient;
vec3 u_matdiffuse;
vec4 u_matspecular;
vec3 u_matemissive;
uint u_lightControl; // light ubershader control bits
vec3 u_lightpos[4];
vec3 u_lightdir[4];
vec3 u_lightatt[4];
vec4 u_lightangle_spotCoef[4];
vec3 u_lightambient[4];
vec3 u_lightdiffuse[4];
vec3 u_lightspecular[4];
};
layout (location = 0) in vec3 position;
layout (location = 1) in vec2 texcoord;
layout (location = 5) in vec4 color0;
layout (location = 1) out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(0.0, 0.0, 1.0, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = ((u_lightControl & (1u << 0x14u)) != 0x0u) ? color0 : u_matambientalpha;
vec3 diffuseColor = ((u_lightControl & (1u << 0x15u)) != 0x0u) ? color0.rgb : u_matdiffuse;
vec3 specularColor = ((u_lightControl & (1u << 0x16u)) != 0x0u) ? color0.rgb : u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
lowp vec3 lightSum1 = splat3(0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
lowp float angle;
uint comp; uint type; float attenuation;
for (uint i = 0; i < 4; i++) {
if ((u_lightControl & (0x1u << i)) != 0x0u) {
comp = (u_lightControl >> uint(0x4u + 0x4u * i)) & 0x3u;
type = (u_lightControl >> uint(0x4u + 0x4u * i + 0x2u)) & 0x3u;
toLight = u_lightpos[i];
if (type != 0x0u) {
toLight -= worldpos;
distance = length(toLight);
toLight /= distance;
attenuation = clamp(1.0 / dot(u_lightatt[i], vec3(1.0, distance, distance*distance)), 0.0, 1.0);
if (type == 0x01u) {
lightScale = attenuation;
} else {
angle = dot(u_lightdir[i], toLight);
if (angle >= u_lightangle_spotCoef[i].x) {
lightScale = attenuation * (u_lightangle_spotCoef[i].y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef[i].y));
} else {
lightScale = 0.0;
}
}
} else {
lightScale = 1.0;
}
ldot = dot(toLight, worldnormal);
if (comp == 0x2u) {
ldot = u_matspecular.a > 0.0 ? pow(max(ldot, 0.0), u_matspecular.a) : 1.0;
}
diffuse = (u_lightdiffuse[i] * diffuseColor) * max(ldot, 0.0);
if (comp == 0x1u && ldot >= 0.0) {
if (u_matspecular.a > 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
ldot = pow(max(ldot, 0.0), u_matspecular.a);
} else {
ldot = 1.0;
}
lightSum1 += u_lightspecular[i] * specularColor * ldot * lightScale;
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: ERROR: 0:41: 'length' : no matching overloaded function found
ERROR: 0:41: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 00000000:00050928 HWX C T TexProjUV UVMtx Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 0) in vec3 position;
layout (location = 1) in vec2 texcoord;
layout (location = 5) in vec4 color0;
layout (location = 1) out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(0.0, 0.0, 1.0, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
v_color0 = color0;
v_texcoord = mul(vec4(texcoord.xy, 0.0, 1.0), u_texmtx).xyz * vec3(u_uvscaleoffset.xy, 1.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
vec3 projPos = outPos.xyz / outPos.w;
float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) {
if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
if (u_cullRangeMin.w <= 0.0) {
if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
gl_Position = outPos;
if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: ERROR: 0:41: 'length' : no matching overloaded function found
ERROR: 0:41: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 00000000:00000928 HWX C T Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 0) in vec3 position;
layout (location = 1) in vec2 texcoord;
layout (location = 5) in vec4 color0;
layout (location = 1) out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(0.0, 0.0, 1.0, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
v_color0 = color0;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
vec3 projPos = outPos.xyz / outPos.w;
float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) {
if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
if (u_cullRangeMin.w <= 0.0) {
if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
gl_Position = outPos;
if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:42: 'texture' : no matching overloaded function found
ERROR: 0:42: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:42: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 101a0000:0021d002 Tex Fog FragUber TFuncMod AlphaTest0 > StencilDiscardWorkaround
layout (depth_unchanged) out float gl_FragDepth;
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
if (v.a < 0.002) DISCARD;
fragColor0 = v;
gl_FragDepth = gl_FragCoord.z;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:37: 'floor' : no matching overloaded function found
ERROR: 0:37: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 10190000:0000d000 FragUber AlphaTest > TestDiscardToZero
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
int roundAndScaleTo255i(in highp float x) { return int(floor(x * 255.0 + 0.5)); }
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 v = v_color0;
if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) v.a = 0.0;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'clamp' : no matching overloaded function found
ERROR: 0:41: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 12180000:00200382 Tex Fog FragUber TClampST TFuncMod TexArray
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2DArray tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec2 fixedcoord = vec2((clamp(v_texcoord.x, u_texclamp.z, u_texclamp.x - u_texclamp.z) + u_texclampoff.x), (clamp(v_texcoord.y, u_texclamp.w, u_texclamp.y - u_texclamp.w) + u_texclampoff.y));
vec4 t = texture(tex, vec3(fixedcoord.xy, 0.0));
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'mod' : no matching overloaded function found
ERROR: 0:41: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 12184000:0000008e Tex Flat FragUber TClamp TFuncRepl TexArray
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2DArray tex;
layout (location = 1) flat in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec2 fixedcoord = vec2((mod(v_texcoord.x, u_texclamp.x) + u_texclampoff.x), (mod(v_texcoord.y, u_texclamp.y) + u_texclampoff.y));
vec4 t = texture(tex, vec3(fixedcoord.xy, 0.0));
vec4 p = v_color0;
vec4 r = t;
r.a = mix(r.a, p.a, u_texNoAlphaMul.x);
vec4 v = r;
v.rgb *= u_texNoAlphaMul.y;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:42: 'texture' : no matching overloaded function found
ERROR: 0:42: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:42: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 101a0000:00200002 Tex Fog FragUber TFuncMod StencilDiscardWorkaround
layout (depth_unchanged) out float gl_FragDepth;
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
fragColor0 = v;
gl_FragDepth = gl_FragCoord.z;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: ERROR: 0:40: 'length' : no matching overloaded function found
ERROR: 0:40: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 00000000:00000920 HWX T Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 0) in vec3 position;
layout (location = 1) in vec2 texcoord;
layout (location = 1) out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(0.0, 0.0, 1.0, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
v_color0 = u_matambientalpha;
v_color0.r += 0.000001;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
vec3 projPos = outPos.xyz / outPos.w;
float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) {
if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
if (u_cullRangeMin.w <= 0.0) {
if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
gl_Position = outPos;
if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: ERROR: 0:40: 'length' : no matching overloaded function found
ERROR: 0:40: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 00000000:00000128 HWX C Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 0) in vec3 position;
layout (location = 5) in vec4 color0;
layout (location = 1) out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(0.0, 0.0, 1.0, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
v_color0 = color0;
v_texcoord = splat3(0.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
vec3 projPos = outPos.xyz / outPos.w;
float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) {
if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
if (u_cullRangeMin.w <= 0.0) {
if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
gl_Position = outPos;
if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:42: 'texture' : no matching overloaded function found
ERROR: 0:42: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:42: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 121a0000:00200002 Tex Fog FragUber TFuncMod StencilDiscardWorkaround TexArray
layout (depth_unchanged) out float gl_FragDepth;
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2DArray tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, vec3(v_texcoord.xy, 0.0));
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
fragColor0 = v;
gl_FragDepth = gl_FragCoord.z;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:39: 'floor' : no matching overloaded function found
ERROR: 0:39: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 10180000:0020d002 Tex Fog FragUber TFuncMod AlphaTest >
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
int roundAndScaleTo255i(in highp float x) { return int(floor(x * 255.0 + 0.5)); }
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) DISCARD;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'clamp' : no matching overloaded function found
ERROR: 0:41: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 12180000:0000038e Tex FragUber TClampST TFuncRepl TexArray
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2DArray tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec2 fixedcoord = vec2((clamp(v_texcoord.x, u_texclamp.z, u_texclamp.x - u_texclamp.z) + u_texclampoff.x), (clamp(v_texcoord.y, u_texclamp.w, u_texclamp.y - u_texclamp.w) + u_texclampoff.y));
vec4 t = texture(tex, vec3(fixedcoord.xy, 0.0));
vec4 p = v_color0;
vec4 r = t;
r.a = mix(r.a, p.a, u_texNoAlphaMul.x);
vec4 v = r;
v.rgb *= u_texNoAlphaMul.y;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:39: 'floor' : no matching overloaded function found
ERROR: 0:39: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 10190000:0020d002 Tex Fog FragUber TFuncMod AlphaTest > TestDiscardToZero
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
int roundAndScaleTo255i(in highp float x) { return int(floor(x * 255.0 + 0.5)); }
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) v.a = 0.0;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:42: 'texture' : no matching overloaded function found
ERROR: 0:42: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:42: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 121a0000:00000002 Tex FragUber TFuncMod StencilDiscardWorkaround TexArray
layout (depth_unchanged) out float gl_FragDepth;
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2DArray tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, vec3(v_texcoord.xy, 0.0));
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
fragColor0 = v;
gl_FragDepth = gl_FragCoord.z;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'clamp' : no matching overloaded function found
ERROR: 0:41: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 12180000:00000382 Tex FragUber TClampST TFuncMod TexArray
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2DArray tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec2 fixedcoord = vec2((clamp(v_texcoord.x, u_texclamp.z, u_texclamp.x - u_texclamp.z) + u_texclampoff.x), (clamp(v_texcoord.y, u_texclamp.w, u_texclamp.y - u_texclamp.w) + u_texclampoff.y));
vec4 t = texture(tex, vec3(fixedcoord.xy, 0.0));
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: ERROR: 0:56: 'length' : no matching overloaded function found
ERROR: 0:56: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 01000000:80000b28 HWX C T N Light: LightUberShader Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (std140, set = 0, binding = 4) uniform lightVars {
vec4 u_ambient;
vec3 u_matdiffuse;
vec4 u_matspecular;
vec3 u_matemissive;
uint u_lightControl; // light ubershader control bits
vec3 u_lightpos[4];
vec3 u_lightdir[4];
vec3 u_lightatt[4];
vec4 u_lightangle_spotCoef[4];
vec3 u_lightambient[4];
vec3 u_lightdiffuse[4];
vec3 u_lightspecular[4];
};
layout (location = 0) in vec3 position;
layout (location = 2) in vec3 normal;
layout (location = 1) in vec2 texcoord;
layout (location = 5) in vec4 color0;
layout (location = 1) out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(normal, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = ((u_lightControl & (1u << 0x14u)) != 0x0u) ? color0 : u_matambientalpha;
vec3 diffuseColor = ((u_lightControl & (1u << 0x15u)) != 0x0u) ? color0.rgb : u_matdiffuse;
vec3 specularColor = ((u_lightControl & (1u << 0x16u)) != 0x0u) ? color0.rgb : u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
lowp vec3 lightSum1 = splat3(0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
lowp float angle;
uint comp; uint type; float attenuation;
for (uint i = 0; i < 4; i++) {
if ((u_lightControl & (0x1u << i)) != 0x0u) {
comp = (u_lightControl >> uint(0x4u + 0x4u * i)) & 0x3u;
type = (u_lightControl >> uint(0x4u + 0x4u * i + 0x2u)) & 0x3u;
toLight = u_lightpos[i];
if (type != 0x0u) {
toLight -= worldpos;
distance = length(toLight);
toLight /= distance;
attenuation = clamp(1.0 / dot(u_lightatt[i], vec3(1.0, distance, distance*distance)), 0.0, 1.0);
if (type == 0x01u) {
lightScale = attenuation;
} else {
angle = dot(u_lightdir[i], toLight);
if (angle >= u_lightangle_spotCoef[i].x) {
lightScale = attenuation * (u_lightangle_spotCoef[i].y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef[i].y));
} else {
lightScale = 0.0;
}
}
} else {
lightScale = 1.0;
}
ldot = dot(toLight, worldnormal);
if (comp == 0x2u) {
ldot = u_matspecular.a > 0.0 ? pow(max(ldot, 0.0), u_matspecular.a) : 1.0;
}
diffuse = (u_lightdiffuse[i] * diffuseColor) * max(ldot, 0.0);
if (comp == 0x1u && ldot >= 0.0) {
if (u_matspecular.a > 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
ldot = pow(max(ldot, 0.0), u_matspecular.a);
} else {
ldot = 1.0;
}
lightSum1 += u_lightspecular[i] * spec |
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'texture' : no matching overloaded function found
ERROR: 0:41: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:41: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 10184000:0000000e Tex Flat FragUber TFuncRepl
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) flat in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 r = t;
r.a = mix(r.a, p.a, u_texNoAlphaMul.x);
vec4 v = r;
v.rgb *= u_texNoAlphaMul.y;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'texture' : no matching overloaded function found
ERROR: 0:41: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:41: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 10180000:0000000e Tex FragUber TFuncRepl
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 r = t;
r.a = mix(r.a, p.a, u_texNoAlphaMul.x);
vec4 v = r;
v.rgb *= u_texNoAlphaMul.y;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:39: 'floor' : no matching overloaded function found
ERROR: 0:39: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 10180000:0000d002 Tex FragUber TFuncMod AlphaTest >
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
int roundAndScaleTo255i(in highp float x) { return int(floor(x * 255.0 + 0.5)); }
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) DISCARD;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'mod' : no matching overloaded function found
ERROR: 0:41: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 12180000:0000008e Tex FragUber TClamp TFuncRepl TexArray
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2DArray tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec2 fixedcoord = vec2((mod(v_texcoord.x, u_texclamp.x) + u_texclampoff.x), (mod(v_texcoord.y, u_texclamp.y) + u_texclampoff.y));
vec4 t = texture(tex, vec3(fixedcoord.xy, 0.0));
vec4 p = v_color0;
vec4 r = t;
r.a = mix(r.a, p.a, u_texNoAlphaMul.x);
vec4 v = r;
v.rgb *= u_texNoAlphaMul.y;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:39: 'floor' : no matching overloaded function found
ERROR: 0:39: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 10190000:0000d002 Tex FragUber TFuncMod AlphaTest > TestDiscardToZero
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
int roundAndScaleTo255i(in highp float x) { return int(floor(x * 255.0 + 0.5)); }
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) v.a = 0.0;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'texture' : no matching overloaded function found
ERROR: 0:41: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:41: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 12180000:00000002 Tex FragUber TFuncMod TexArray
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2DArray tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, vec3(v_texcoord.xy, 0.0));
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:37: 'floor' : no matching overloaded function found
ERROR: 0:37: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 12190000:0000d000 FragUber AlphaTest > TestDiscardToZero TexArray
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
int roundAndScaleTo255i(in highp float x) { return int(floor(x * 255.0 + 0.5)); }
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 v = v_color0;
if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) v.a = 0.0;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'texture' : no matching overloaded function found
ERROR: 0:41: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:41: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 10180000:00200002 Tex Fog FragUber TFuncMod
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:42: 'texture' : no matching overloaded function found
ERROR: 0:42: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:42: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 101a0000:00000002 Tex FragUber TFuncMod StencilDiscardWorkaround
layout (depth_unchanged) out float gl_FragDepth;
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
fragColor0 = v;
gl_FragDepth = gl_FragCoord.z;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'texture' : no matching overloaded function found
ERROR: 0:41: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:41: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 10180000:0021d002 Tex Fog FragUber TFuncMod AlphaTest0 >
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
if (v.a < 0.002) DISCARD;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:40: 'clamp' : no matching overloaded function found
ERROR: 0:40: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 10180000:00200000 Fog FragUber
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 v = v_color0;
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: ERROR: 0:55: 'length' : no matching overloaded function found
ERROR: 0:55: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 01000000:80000b20 HWX T N Light: LightUberShader Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (std140, set = 0, binding = 4) uniform lightVars {
vec4 u_ambient;
vec3 u_matdiffuse;
vec4 u_matspecular;
vec3 u_matemissive;
uint u_lightControl; // light ubershader control bits
vec3 u_lightpos[4];
vec3 u_lightdir[4];
vec3 u_lightatt[4];
vec4 u_lightangle_spotCoef[4];
vec3 u_lightambient[4];
vec3 u_lightdiffuse[4];
vec3 u_lightspecular[4];
};
layout (location = 0) in vec3 position;
layout (location = 2) in vec3 normal;
layout (location = 1) in vec2 texcoord;
layout (location = 1) out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(normal, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
vec3 diffuseColor = u_matdiffuse.rgb;
vec3 specularColor = u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
lowp vec3 lightSum1 = splat3(0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
lowp float angle;
uint comp; uint type; float attenuation;
for (uint i = 0; i < 4; i++) {
if ((u_lightControl & (0x1u << i)) != 0x0u) {
comp = (u_lightControl >> uint(0x4u + 0x4u * i)) & 0x3u;
type = (u_lightControl >> uint(0x4u + 0x4u * i + 0x2u)) & 0x3u;
toLight = u_lightpos[i];
if (type != 0x0u) {
toLight -= worldpos;
distance = length(toLight);
toLight /= distance;
attenuation = clamp(1.0 / dot(u_lightatt[i], vec3(1.0, distance, distance*distance)), 0.0, 1.0);
if (type == 0x01u) {
lightScale = attenuation;
} else {
angle = dot(u_lightdir[i], toLight);
if (angle >= u_lightangle_spotCoef[i].x) {
lightScale = attenuation * (u_lightangle_spotCoef[i].y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef[i].y));
} else {
lightScale = 0.0;
}
}
} else {
lightScale = 1.0;
}
ldot = dot(toLight, worldnormal);
if (comp == 0x2u) {
ldot = u_matspecular.a > 0.0 ? pow(max(ldot, 0.0), u_matspecular.a) : 1.0;
}
diffuse = (u_lightdiffuse[i] * diffuseColor) * max(ldot, 0.0);
if (comp == 0x1u && ldot >= 0.0) {
if (u_matspecular.a > 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
ldot = pow(max(ldot, 0.0), u_matspecular.a);
} else {
ldot = 1.0;
}
lightSum1 += u_lightspecular[i] * specularColor * ldot * lightScale;
}
lightSum0.rgb += (u_lightambient[i] * ambientColor.rgb + diffuse) * lightScale;
}
} v_color0 = clamp(clamp(lightSum0, 0.0, 1.0) + vec4(lightSum1, 0.0), 0.0, 1.0 |
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: ERROR: 0:42: 'length' : no matching overloaded function found
ERROR: 0:42: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 00000000:00000b28 HWX C T N Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 0) in vec3 position;
layout (location = 2) in vec3 normal;
layout (location = 1) in vec2 texcoord;
layout (location = 5) in vec4 color0;
layout (location = 1) out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(normal, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
v_color0 = color0;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
vec3 projPos = outPos.xyz / outPos.w;
float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) {
if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
if (u_cullRangeMin.w <= 0.0) {
if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
gl_Position = outPos;
if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'texture' : no matching overloaded function found
ERROR: 0:41: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:41: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 10180000:00000002 Tex FragUber TFuncMod
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
fragColor0 = v;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:40: 'floor' : no matching overloaded function found
ERROR: 0:40: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 101a0000:0020d002 Tex Fog FragUber TFuncMod AlphaTest > StencilDiscardWorkaround
layout (depth_unchanged) out float gl_FragDepth;
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2D tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
int roundAndScaleTo255i(in highp float x) { return int(floor(x * 255.0 + 0.5)); }
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) DISCARD;
fragColor0 = v;
gl_FragDepth = gl_FragCoord.z;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: ERROR: 0:39: 'length' : no matching overloaded function found
ERROR: 0:39: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 00000000:00010120 HWX TexProjPos UVMtx Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 0) in vec3 position;
layout (location = 1) out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(0.0, 0.0, 1.0, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
v_color0 = u_matambientalpha;
v_color0.r += 0.000001;
v_texcoord = mul(vec4(position, 1.0), u_texmtx).xyz * vec3(u_uvscaleoffset.xy, 1.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
vec3 projPos = outPos.xyz / outPos.w;
float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) {
if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
if (u_cullRangeMin.w <= 0.0) {
if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
gl_Position = outPos;
if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999;
}
|
| Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
1 |
Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth
ERROR: 0:41: 'texture' : no matching overloaded function found
ERROR: 0:41: '=' : cannot convert from ' const float' to ' temp lowp 4-component vector of float'
ERROR: 0:41: '' : compilation terminated
ERROR: 3 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#extension GL_ARB_conservative_depth : enable
#extension GL_ARB_shader_image_load_store : enable
#define splat3(x) vec3(x)
#define DISCARD discard
precision lowp float;
precision highp int;
// 12180000:00200002 Tex Fog FragUber TFuncMod TexArray
layout (std140, set = 0, binding = 3) uniform baseUBO {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (set = 0, binding = 0) uniform sampler2DArray tex;
layout (location = 1) in lowp vec4 v_color0;
layout (location = 3) in highp float v_fogdepth;
layout (location = 0) in highp vec3 v_texcoord;
layout (location = 0, index = 0) out vec4 fragColor0;
void main() {
vec4 t = texture(tex, vec3(v_texcoord.xy, 0.0));
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
fragColor0 = v;
}
|
| eFootball Chelito 19 |
v1.18.1 |
2024-11-28 |
3 |
Vulkan error in shader compilation: info: ERROR: 0:40: 'length' : no matching overloaded function found
ERROR: 0:40: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 40000000:00000920 HWX T Flat Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 0) in vec3 position;
layout (location = 1) in vec2 texcoord;
layout (location = 1) flat out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(0.0, 0.0, 1.0, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
v_color0 = u_matambientalpha;
v_color0.r += 0.000001;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
vec3 projPos = outPos.xyz / outPos.w;
float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) {
if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
if (u_cullRangeMin.w <= 0.0) {
if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
gl_Position = outPos;
if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999;
}
|
| eFootball Chelito 19 |
v1.18.1 |
2024-11-28 |
3 |
Vulkan error in shader compilation: info: ERROR: 0:39: 'length' : no matching overloaded function found
ERROR: 0:39: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 40000000:00000120 HWX Flat Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 0) in vec3 position;
layout (location = 1) flat out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(0.0, 0.0, 1.0, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
v_color0 = u_matambientalpha;
v_color0.r += 0.000001;
v_texcoord = splat3(0.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
vec3 projPos = outPos.xyz / outPos.w;
float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) {
if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
if (u_cullRangeMin.w <= 0.0) {
if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
gl_Position = outPos;
if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999;
}
|
| eFootball Chelito 19 |
v1.18.1 |
2024-11-28 |
3 |
Vulkan error in shader compilation: info: ERROR: 0:41: 'length' : no matching overloaded function found
ERROR: 0:41: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 40000000:00000928 HWX C T Flat Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (location = 0) in vec3 position;
layout (location = 1) in vec2 texcoord;
layout (location = 5) in vec4 color0;
layout (location = 1) flat out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(0.0, 0.0, 1.0, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
v_color0 = color0;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
vec3 projPos = outPos.xyz / outPos.w;
float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) {
if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
if (u_cullRangeMin.w <= 0.0) {
if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
gl_Position = outPos;
if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999;
}
|
| eFootball Chelito 19 |
v1.20.3 |
2026-05-14 |
9 |
Vulkan error in shader compilation: info: ERROR: 0:55: 'length' : no matching overloaded function found
ERROR: 0:55: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
/ code: #version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
#define mul(x, y) ((x) * (y))
#define splat3(x) vec3(x)
precision highp float;
// 01000000:80000b20 HWX T N Light: LightUberShader Cull
layout (std140, set = 0, binding = 3) uniform baseVars {
mat4 u_proj;
mat4 u_proj_through;
mat3x4 u_view;
mat3x4 u_world;
mat3x4 u_texmtx;
vec4 u_uvscaleoffset;
vec4 u_depthRange;
vec4 u_matambientalpha;
vec4 u_cullRangeMin;
vec4 u_cullRangeMax;
uint u_spline_counts;
uint u_depal_mask_shift_off_fmt;
uint u_colorWriteMask;
float u_mipBias;
vec2 u_texNoAlphaMul; float pad1; float pad2;
vec3 u_fogcolor; uint u_alphacolorref;
vec3 u_texenv; uint u_alphacolormask;
vec4 u_texclamp;
vec2 u_texclampoff; vec2 u_fogcoef;
vec3 u_blendFixA; float u_stencilReplaceValue;
vec3 u_blendFixB; float u_rotation;
};
layout (std140, set = 0, binding = 4) uniform lightVars {
vec4 u_ambient;
vec3 u_matdiffuse;
vec4 u_matspecular;
vec3 u_matemissive;
uint u_lightControl; // light ubershader control bits
vec3 u_lightpos[4];
vec3 u_lightdir[4];
vec3 u_lightatt[4];
vec4 u_lightangle_spotCoef[4];
vec3 u_lightambient[4];
vec3 u_lightdiffuse[4];
vec3 u_lightspecular[4];
};
layout (location = 0) in vec3 position;
layout (location = 2) in vec3 normal;
layout (location = 1) in vec2 texcoord;
layout (location = 1) out lowp vec4 v_color0;
layout (location = 0) out highp vec3 v_texcoord;
layout (location = 3) out highp float v_fogdepth;
invariant gl_Position;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(normal, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = u_matambientalpha;
vec3 diffuseColor = u_matdiffuse.rgb;
vec3 specularColor = u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
lowp vec3 lightSum1 = splat3(0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
lowp float angle;
uint comp; uint type; float attenuation;
for (uint i = 0; i < 4; i++) {
if ((u_lightControl & (0x1u << i)) != 0x0u) {
comp = (u_lightControl >> uint(0x4u + 0x4u * i)) & 0x3u;
type = (u_lightControl >> uint(0x4u + 0x4u * i + 0x2u)) & 0x3u;
toLight = u_lightpos[i];
if (type != 0x0u) {
toLight -= worldpos;
distance = length(toLight);
toLight /= distance;
attenuation = clamp(1.0 / dot(u_lightatt[i], vec3(1.0, distance, distance*distance)), 0.0, 1.0);
if (type == 0x01u) {
lightScale = attenuation;
} else {
angle = dot(u_lightdir[i], toLight);
if (angle >= u_lightangle_spotCoef[i].x) {
lightScale = attenuation * (u_lightangle_spotCoef[i].y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef[i].y));
} else {
lightScale = 0.0;
}
}
} else {
lightScale = 1.0;
}
ldot = dot(toLight, worldnormal);
if (comp == 0x2u) {
ldot = u_matspecular.a > 0.0 ? pow(max(ldot, 0.0), u_matspecular.a) : 1.0;
}
diffuse = (u_lightdiffuse[i] * diffuseColor) * max(ldot, 0.0);
if (comp == 0x1u && ldot >= 0.0) {
if (u_matspecular.a > 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
ldot = pow(max(ldot, 0.0), u_matspecular.a);
} else {
ldot = 1.0;
}
lightSum1 += u_lightspecular[i] * specularColor * ldot * lightScale;
}
lightSum0.rgb += (u_lightambient[i] * ambientColor.rgb + diffuse) * lightScale;
}
} v_color0 = clamp(clamp(lightSum0, 0.0, 1.0) + vec4(lightSum1, 0.0), 0.0, 1.0 |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2024-12-05 |
2 |
Branch in branch delay slot at 096dcec0 with different target |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2024-11-28 |
1 |
Branch in RSZeroComp delay slot at 096dcebc in block starting at 096dce70 |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2024-11-28 |
1 |
Branch in branch delay slot at 096dce40 with different target |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2024-11-28 |
1 |
Branch in branch delay slot at 096dce60 with different target |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2024-11-28 |
1 |
Branch in branch delay slot at 096dce4c with different target |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2024-11-28 |
1 |
Branch in branch delay slot at 096dce48 with different target |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2024-11-28 |
1 |
Branch in branch delay slot at 096dce5c with different target |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2024-11-28 |
1 |
Branch in branch delay slot at 096dce54 with different target |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.18.1 |
2024-11-28 |
1 |
Branch in branch delay slot at 096dce68 with different target |