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 |
Message |
Medal of Honor Heroes™ 2 |
v1.18.1 |
2025-03-16 |
Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader.
Please contact [email protected] with the shader causing
the problem, along with this error message.
Mali online shader compiler r7p0-00rel0 [Revision 96995].
01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
#version 100
// Driver: Mali-400 MP - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform mediump vec3 u_lightatt2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
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 = color0;
vec3 diffuseColor = color0.rgb;
vec3 specularColor = u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
toLight = u_lightpos0 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse1 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos2 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse2 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient3 * ambientColor.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
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)) {
|
Medal of Honor Heroes™ 2 |
v1.18.1-1101-g4ff642ccc8 |
2025-02-19 |
2153971718=sceAtracSetDataAndGetID(08de4bc0, 00001800): invalid RIFF header |
Medal of Honor Heroes™ 2 |
v1.13.2 |
2025-02-04 |
__KernelStopThread: thread 425 does not exist |
Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-12-05 |
80630006=sceAtracSetDataAndGetID(08de4cc0, 00001800): invalid RIFF header |
Medal of Honor Heroes™ 2 |
v1.12.3 |
2024-12-02 |
sceUtilityMsgDialogInitStart: invalid status |
Medal of Honor Heroes™ 2 |
v1.18.1 |
2024-11-28 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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;
}
|
Medal of Honor Heroes™ 2 |
v1.14.1 |
2024-10-24 |
UI scissor out of bounds in GameSettingsScreen: 343,0-1163,720 / 1421,720 |
Medal of Honor Heroes™ 2 |
v1.17.1 |
2024-10-24 |
Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader.
Please contact [email protected] with the shader causing
the problem, along with this error message.
Mali online shader compiler r10p0-00rel0 [Revision 96995].
01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
#version 100
// Driver: Mali-400 MP - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform mediump vec3 u_lightatt2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
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 = color0;
vec3 diffuseColor = color0.rgb;
vec3 specularColor = u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
toLight = u_lightpos0 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse1 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos2 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse2 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient3 * ambientColor.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
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)) {
|
Medal of Honor Heroes™ 2 |
v1.17.1 |
2024-12-25 |
80630006=sceAtracSetDataAndGetID(08de4d00, 00001800): invalid RIFF header |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-22 |
Ignoring func export scePsmf/5f457515, already implemented in HLE. |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-21 |
Loading file directly instead of using handlers: disc0:/PSP_GAME/USRDIR/MGP.PGF |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-18 |
sceKernelCreateThread(name=jmpFont_Library): unsupported attributes 00000006 |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-18 |
ReadFromHardware: Invalid address 0a000000 near PC 08e1b560 LR 08e1b560 |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-21 |
sceKernelLoadModuleByID: unsupported options size=00000014, flags=00000000, pos=1, access=0, data=0, text=2 |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-18 |
Unknown syscall in known module 'sceNpService': 0x78802d5f |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-18 |
Unknown syscall in known module 'sceNpService': 0x268c009d |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-18 |
Unknown syscall in known module 'sceNpService': 0x1da3e950 |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-18 |
Unknown syscall in known module 'sceNpService': 0x168b8de5 |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-18 |
Unknown syscall in known module 'sceNpAuth': 0xd99455dd |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-18 |
Unknown syscall in known module 'sceNpAuth': 0xcd86a656 |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-07-18 |
Unknown syscall in known module 'sceNpAuth': 0x72bb0467 |
Medal of Honor Heroes™ 2 |
v1.12.3 |
2024-07-16 |
80631003=sceAtracSetAA3DataAndGetID(090e8880, 0000c800, 00230340, 09fd49b8[ffffffff]): invalid ea3 magic bytes |
Medal of Honor Heroes™ 2 |
v1.12.3 |
2024-07-16 |
80631003=sceAtracSetAA3DataAndGetID(090e8880, 0000c800, 00240ea0, 09fd49b8[ffffffff]): invalid ea3 magic bytes |
Medal of Honor Heroes™ 2 |
v1.12.3 |
2024-07-16 |
80631003=sceAtracSetAA3DataAndGetID(090e8880, 0000c800, 004839f0, 09fd49b8[ffffffff]): invalid ea3 magic bytes |
Medal of Honor Heroes™ 2 |
v1.12.3 |
2024-07-16 |
80631003=sceAtracSetAA3DataAndGetID(090e8880, 0000c800, 00226368, 09fd49b8[ffffffff]): invalid ea3 magic bytes |
Medal of Honor Heroes™ 2 |
v1.9.0 |
2024-06-04 |
WriteToHardware: Invalid address 00000000 near PC 08a26754 LR 08a26754 |
Medal of Honor Heroes™ 2 |
v1.17.1 |
2024-03-14 |
Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader.
Please contact [email protected] with the shader causing
the problem, along with this error message.
Mali online shader compiler r6p0-00dev0 [Revision 96995].
01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
#version 100
// Driver: Mali-400 MP - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform mediump vec3 u_lightatt2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
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 = color0;
vec3 diffuseColor = color0.rgb;
vec3 specularColor = u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
toLight = u_lightpos0 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse1 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos2 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse2 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient3 * ambientColor.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
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)) {
|
Medal of Honor Heroes™ 2 |
v1.11.3 |
2024-02-18 |
sceKernelLoadModule: unsupported options size=00000014, flags=00000000, pos=1, access=1, data=1, text=1 |
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2024-01-14 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:48 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:88 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:91 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-28 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:37 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:66 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:69 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-28 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:261 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:277 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:280 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-28 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:54 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:70 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:73 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-25 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:57 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:106 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:109 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-24 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:105 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:230 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:233 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-24 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:153 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:220 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:223 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-23 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:161 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:228 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:231 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-23 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:39 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:186 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:189 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-23 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:203 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:350 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:353 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-23 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:21173 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:21227 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:21230 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-23 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:74 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:128 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:131 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-22 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:152 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:206 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:209 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-22 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:8793 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:8847 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:8850 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-22 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:110 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:123 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:126 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-22 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:56 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:92 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:95 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-22 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:185 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:223 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:226 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.13.1-547-g9f4a84945 |
2023-12-22 |
GetFramebufferCandidates: Multiple (4) candidate framebuffers. texaddr: 040cc000 offset: 0 (64x64 stride 64, 565):
[DEPTH seq:0 C:04000000/512(565) Z:040cc000/512 X:0 Y:0 reint: false]
[DEPTH seq:6357 C:04044000/512(8888) Z:040cc000/512 X:0 Y:0 reint: false]
[COLOR seq:6391 C:040cc000/64(565) Z:00000000/0 X:0 Y:0 reint: false]
[DEPTH seq:6394 C:040ce000/64(565) Z:040cc000/512 X:0 Y:0 reint: false]
|
Medal of Honor Heroes™ 2 |
v1.18.1 |
2025-01-07 |
Can't draw: No current render step. Step count: 0 |
Medal of Honor Heroes™ 2 |
v1.16.6 |
2023-12-27 |
Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader.
Please contact [email protected] with the shader causing
the problem, along with this error message.
Mali online shader compiler r6p2-01rel0 [Revision 96995].
01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
#version 100
// Driver: Mali-400 MP - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform mediump vec3 u_lightatt2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
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 = color0;
vec3 diffuseColor = color0.rgb;
vec3 specularColor = u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
toLight = u_lightpos0 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse1 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos2 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse2 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient3 * ambientColor.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
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)) {
|
Medal of Honor Heroes™ 2 |
v1.12.3 |
2023-11-20 |
FBO created from existing depthbuffer as color, 04110000/00000000 and 04088000/04110000 |
Medal of Honor Heroes™ 2 |
v1.12.3 |
2023-11-20 |
FBO created from existing depthbuffer as color, 04110000/00000000 and 04000000/04110000 |
Medal of Honor Heroes™ 2 |
v1.16.6 |
2023-11-19 |
Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader.
Please contact [email protected] with the shader causing
the problem, along with this error message.
Mali online shader compiler r9p0-01rel0 [Revision 96995].
01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
#version 100
// Driver: Mali-400 MP - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform mediump vec3 u_lightatt2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
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 = color0;
vec3 diffuseColor = color0.rgb;
vec3 specularColor = u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
toLight = u_lightpos0 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse1 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos2 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse2 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient3 * ambientColor.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
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)) {
|
Medal of Honor Heroes™ 2 |
v1.9.4 |
2023-09-27 |
Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader.
Please contact [email protected] with the shader causing
the problem, along with this error message.
Mali online shader compiler r10p0-00dev0 [Revision 96995].
01f30444:00000b1c HWX C T N Fog Tex Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3
#version 100
precision highp float;
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform mediump vec3 u_lightatt2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
void main() {
vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz;
mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
vec4 outPos = u_proj * viewPos;
lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
toLight = u_lightpos0 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale;
toLight = u_lightpos2 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale;
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
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;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = vec4(u_cullRangeMax.w);
}
}
gl_Position = outPos;
}
|
Medal of Honor Heroes™ 2 |
v1.17.1 |
2024-03-08 |
Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader.
Please contact [email protected] with the shader causing
the problem, along with this error message.
Mali online shader compiler r10p0-00dev0 [Revision 96995].
01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
#version 100
// Driver: Mali-400 MP - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform mediump vec3 u_lightatt2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
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 = color0;
vec3 diffuseColor = color0.rgb;
vec3 specularColor = u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
toLight = u_lightpos0 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse1 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos2 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse2 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient3 * ambientColor.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
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)) {
|
Medal of Honor Heroes™ 2 |
v1.16.1 |
2023-09-16 |
ReadFromHardware: Invalid address 00192744 near PC 08a24414 LR 08a2445c |
Medal of Honor Heroes™ 2 |
v1.16.1 |
2023-09-16 |
WriteToHardware: Invalid address 00192754 near PC 08a2445c LR 08a24478 |
Medal of Honor Heroes™ 2 |
v1.12.3 |
2023-08-15 |
UNIMPL sceKernelSelfStopUnloadModule(00000001, 00000000, 00000000): game may have crashed |
Medal of Honor Heroes™ 2 |
v1.12.3 |
2023-08-13 |
sceKernelLoadModule: unsupported options size=00000014, flags=08beaac0, pos=0, access=1, data=1, text=1 |
Medal of Honor Heroes™ 2 |
v1.12.3 |
2023-08-13 |
sceKernelLoadModule: unsupported options size=00000014, flags=09fff5f0, pos=0, access=1, data=1, text=1 |
Medal of Honor Heroes™ 2 |
v1.15.4 |
2023-07-21 |
Error in shader compilation: info: ERROR: 0:48: 'gl_ClipDistance' : undeclared identifier
ERROR: 0:48: 'expression' : left of '[' is not of type array, matrix, or vector
ERROR: 0:48: 'assign' : l-value required (can't modify a const)
00000000:00000928 HWX C T Cull
#version 320 es
#extension GL_EXT_clip_cull_distance : enable
// Driver: ANGLE (Samsung Xclipse 920) on Vulkan 1.1.179 - GLSL 320
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 00000000:00000928 HWX C T Cull
in vec3 position;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
out mediump float v_fogdepth;
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_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001;
if (u_cullRangeMin.w > 0.0 && u_depthRange.w != 0.0f) {
gl_CullDistance[0] = projPos.z - u_cullRangeMin.z;
gl_CullDistance[1] = u_cullRangeMax.z - projPos.z;
} else {
gl_CullDistance[0] = 0.0;
gl_CullDistance[1] = 0.0;
}
gl_Position = outPos;
}
|
Medal of Honor Heroes™ 2 |
v1.9.4 |
2025-02-15 |
ReadFromHardware: Invalid address 00192744 near PC 08a24dc0 LR 08a2445c |
Medal of Honor Heroes™ 2 |
v1.9.4 |
2025-02-15 |
WriteToHardware: Invalid address 00192754 near PC 08a24f4c LR 08a24478 |
Medal of Honor Heroes™ 2 |
v1.10-6-g8ac4efd3c |
2023-07-10 |
sceKernelLoadModule: unsupported options size=00000014, flags=089e9048, pos=0, access=1, data=2, text=2 |
Medal of Honor Heroes™ 2 |
v1.10-6-g8ac4efd3c |
2023-07-10 |
sceKernelLoadModule: unsupported options size=00000014, flags=089e9048, pos=0, access=1, data=1, text=1 |
Medal of Honor Heroes™ 2 |
v1.11.3 |
2023-07-09 |
Texture cache ran out of GPU memory; switching to low memory mode |
Medal of Honor Heroes™ 2 |
v1.15.4 |
2023-06-24 |
ReadFromHardware: Invalid address 00000000 near PC 00000000 LR 08874e10 |
Medal of Honor Heroes™ 2 |
v1.17.1 |
2024-09-18 |
Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader.
Please contact [email protected] with the shader causing
the problem, along with this error message.
Mali online shader compiler r8p0-00dev0 [Revision 96995].
01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
#version 100
// Driver: Mali-400 MP - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 01f30444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:0 MatUp:3 Cull
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform mediump vec3 u_lightatt2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
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 = color0;
vec3 diffuseColor = color0.rgb;
vec3 specularColor = u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
toLight = u_lightpos0 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse1 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos2 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0);
diffuse = (u_lightdiffuse2 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient3 * ambientColor.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
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)) {
|