Kind #880: Vulkan error in shader compilation: info: %s / code: %s
Game: Medal of Honor Heroes™ 2 (ULES00988_1.00)
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;
}
Status: new. 1 hits from 2024-11-28 22:24:56 to 2024-11-28 22:24:56 UTC. Message #2581895.
Individual reports are stored since 2026-11-12, the newest 100 per message; none for this message yet. Older hits only exist as the counters above. Hover a cell for details.