Recent logs - Vulkan error in shader compilation: info: %s / code: %s

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
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00184000:00200000 Fog Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; layout (location = 1) flat 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; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00180000:0001d022 Tex TexAlpha 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; if (v.a < 0.002) DISCARD; fragColor0 = v; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00184000:00000002 Tex Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00180000:00000022 Tex TexAlpha 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; fragColor0 = v; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00184000:00200022 Tex TexAlpha Fog Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00180000:0001d002 Tex 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); if (v.a < 0.002) DISCARD; fragColor0 = v; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00180000:0021d022 Tex TexAlpha Fog 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; 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; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00184000:0001d002 Tex Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); if (v.a < 0.002) DISCARD; fragColor0 = v; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00184000:00000022 Tex TexAlpha Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; fragColor0 = v; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00184000:0001d022 Tex TexAlpha Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; if (v.a < 0.002) DISCARD; fragColor0 = v; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00180000:00200002 Tex Fog 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00184000:0021d022 Tex TexAlpha Fog Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; 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; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00180000:00000002 Tex 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00180000:00200000 Fog 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00180000:00200022 Tex TexAlpha Fog 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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; // 00180000:0021d002 Tex Fog 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); 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; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 Vulkan error in shader compilation: info: ERROR: 0:76: 'length' : no matching overloaded function found ERROR: 0:76: '' : 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:80000b30 HWX T N Tex 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; 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; if ((u_lightControl & 1u) != 0x0u) { uint comp = (u_lightControl >> 0x04u) & 0x3u; uint type = (u_lightControl >> 0x06u) & 0x3u; if (type == 0x0u) { toLight = u_lightpos0; } else { toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; } ldot = dot(toLight, worldnormal); if (comp == 0x2u) { if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } } switch (int(type)) { case 1: lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); break; case 2: angle = length(u_lightdir0) == 0.0 ? 0.0 : dot(normalize(u_lightdir0), toLight); if (angle >= u_lightangle_spotCoef0.x) { lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0) * (u_lightangle_spotCoef0.y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef0.y)); } else { lightScale = 0.0; } break; default: lightScale = 1.0; break; } diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0); if (comp == 0x1u) { if (ldot >= 0
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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:00000938 HWX C T Tex 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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; if (u_depthRange.y >= 1.0) { gl_ClipDistance[0] = outPos.z; } else if (u_depthRange.x + u_depthRange.y <= 65534.0) { gl_ClipDistance[0] = outPos.w - outPos.z; } else { gl_ClipDistance[0] = 0.0; } 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[1] = projZ * outPos.w + outPos.w + 0.000001; if (u_cullRangeMin.w > 0.0) { 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; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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: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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; layout (location = 0) in vec3 position; layout (location = 5) in vec4 color0; layout (location = 1) out lowp vec4 v_color0; 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_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; if (u_depthRange.y >= 1.0) { gl_ClipDistance[0] = outPos.z; } else if (u_depthRange.x + u_depthRange.y <= 65534.0) { gl_ClipDistance[0] = outPos.w - outPos.z; } else { gl_ClipDistance[0] = 0.0; } 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[1] = projZ * outPos.w + outPos.w + 0.000001; if (u_cullRangeMin.w > 0.0) { 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; }
eFootball PES 2021 T. Bendezu "C19" v1.14.4 2023-03-18 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:00000b30 HWX T N Tex 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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; v_color0 = u_matambientalpha; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; if (u_depthRange.y >= 1.0) { gl_ClipDistance[0] = outPos.z; } else if (u_depthRange.x + u_depthRange.y <= 65534.0) { gl_ClipDistance[0] = outPos.w - outPos.z; } else { gl_ClipDistance[0] = 0.0; } 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[1] = projZ * outPos.w + outPos.w + 0.000001; if (u_cullRangeMin.w > 0.0) { 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; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 Vulkan error in shader compilation: info: ERROR: 0:76: 'length' : no matching overloaded function found ERROR: 0:76: '' : 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:80000b30 HWX T N Tex 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; 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; if ((u_lightControl & 1u) != 0x0u) { uint comp = (u_lightControl >> 0x04u) & 0x3u; uint type = (u_lightControl >> 0x06u) & 0x3u; if (type == 0x0u) { toLight = u_lightpos0; } else { toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; } ldot = dot(toLight, worldnormal); if (comp == 0x2u) { if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } } switch (int(type)) { case 1: lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); break; case 2: angle = length(u_lightdir0) == 0.0 ? 0.0 : dot(normalize(u_lightdir0), toLight); if (angle >= u_lightangle_spotCoef0.x) { lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0) * (u_lightangle_spotCoef0.y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef0.y)); } else { lightScale = 0.0; } break; default: lightScale = 1.0; break; } diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0); if (comp == 0x1u) { if (ldot >= 0
デジモンワールド リ:デジタイズ v1.9.0 2023-01-11 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 layout (early_fragment_tests) in; layout (std140, set = 0, binding = 3) uniform baseUBO { mat4 proj_mtx; mat4 proj_through_mtx; mat3x4 view_mtx; mat3x4 world_mtx; mat3x4 tex_mtx; vec4 uvscaleoffset; vec4 depthRange; vec2 fogcoef; float stencilReplace; vec4 matambientalpha; uint spline_counts; uint depal_mask_shift_off_fmt; int pad2; int pad3; vec4 cullRangeMin; vec4 cullRangeMax; vec3 fogcolor; vec3 texenv; ivec4 alphacolorref; ivec4 alphacolormask; vec3 blendFixA; vec3 blendFixB; vec4 texclamp; vec2 texclampoff; } base; layout (location = 1) in vec4 v_color0; layout (location = 2) in vec3 v_color1; layout (location = 3) in float v_fogdepth; layout (location = 0, index = 0) out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 v = v_color0 + s; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(base.fogcolor, v.a), v, fogCoef); fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00180000:0021d022 Tex TexAlpha Fog 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; 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; }
Pro Evolution Soccer 2014 v1.14.1 2023-01-04 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; // 00184000:00200000 Fog Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; layout (location = 1) flat 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; }
Pro Evolution Soccer 2014 v1.14.1 2023-01-04 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; // 00184000:00000002 Tex Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00180000:00000022 Tex TexAlpha 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00184000:00200022 Tex TexAlpha Fog Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00180000:0001d002 Tex 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); if (v.a < 0.002) DISCARD; fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.1 2023-01-04 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; // 00184000:00000022 Tex TexAlpha Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00180000:0001d022 Tex TexAlpha 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; if (v.a < 0.002) DISCARD; fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00184000:0001d002 Tex Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); if (v.a < 0.002) DISCARD; fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00180000:00200002 Tex Fog 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00184000:0001d022 Tex TexAlpha Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; if (v.a < 0.002) DISCARD; fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00180000:00200022 Tex TexAlpha Fog 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00180000:00000002 Tex 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00184000:0021d022 Tex TexAlpha Fog Flat 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = p * t; 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; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00180000:0021d002 Tex Fog 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 v = vec4(t.rgb * p.rgb, p.a); 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; }
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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; // 00180000:00200000 Fog 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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; }
Pro Evolution Soccer 2014 v1.14.1 2023-01-04 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:00000938 HWX C T Tex 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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; if (u_depthRange.y >= 1.0) { gl_ClipDistance[0] = outPos.z; } else if (u_depthRange.x + u_depthRange.y <= 65534.0) { gl_ClipDistance[0] = outPos.w - outPos.z; } else { gl_ClipDistance[0] = 0.0; } 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[1] = projZ * outPos.w + outPos.w + 0.000001; if (u_cullRangeMin.w > 0.0) { 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; }
Pro Evolution Soccer 2014 v1.14.1 2023-01-04 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:00000b30 HWX T N Tex 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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; v_color0 = u_matambientalpha; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; if (u_depthRange.y >= 1.0) { gl_ClipDistance[0] = outPos.z; } else if (u_depthRange.x + u_depthRange.y <= 65534.0) { gl_ClipDistance[0] = outPos.w - outPos.z; } else { gl_ClipDistance[0] = 0.0; } 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[1] = projZ * outPos.w + outPos.w + 0.000001; if (u_cullRangeMin.w > 0.0) { 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; }
Pro Evolution Soccer 2014 v1.14.1 2023-01-04 Vulkan error in shader compilation: info: ERROR: 0:76: 'length' : no matching overloaded function found ERROR: 0:76: '' : 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:80000b30 HWX T N Tex 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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; 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 vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; 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; if ((u_lightControl & 1u) != 0u) { uint comp = (u_lightControl >> 4) & 3u; uint type = (u_lightControl >> 6) & 3u; if (type == 0u) { toLight = u_lightpos0; } else { toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; } ldot = dot(toLight, worldnormal); if (comp == 2u) { if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } } switch (int(type)) { case 1: lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); break; case 2: angle = length(u_lightdir0) == 0.0 ? 0.0 : dot(normalize(u_lightdir0), toLight); if (angle >= u_lightangle_spotCoef0.x) { lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0) * (u_lightangle_spotCoef0.y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef0.y)); } else { lightScale = 0.0; } break; default: lightScale = 1.0; break; } diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0); if (comp == 1u) { if (ldot >= 0.0) { ldot =
Pro Evolution Soccer 2014 v1.14.4 2023-03-13 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: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; vec3 u_fogcolor; uint u_alphacolorref; vec3 u_texenv; uint u_alphacolormask; vec3 u_blendFixA; float u_stencilReplaceValue; vec3 u_blendFixB; float u_rotation; vec4 u_texclamp; vec2 u_texclampoff; vec2 u_fogcoef; }; layout (location = 0) in vec3 position; layout (location = 5) in vec4 color0; layout (location = 1) out lowp vec4 v_color0; 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_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; if (u_depthRange.y >= 1.0) { gl_ClipDistance[0] = outPos.z; } else if (u_depthRange.x + u_depthRange.y <= 65534.0) { gl_ClipDistance[0] = outPos.w - outPos.z; } else { gl_ClipDistance[0] = 0.0; } 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[1] = projZ * outPos.w + outPos.w + 0.000001; if (u_cullRangeMin.w > 0.0) { 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; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.3-1276-g192a43c1c 2022-12-05 Vulkan error in shader compilation: info: ERROR: 0:38: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec4 position; layout (location = 5) in vec4 color0; layout (location = 1) out lowp vec4 v_color0; in float h_depth; in vec3 h_normal; void main() { v_color0 = color0; vec4 outPos = mul(u_proj_through, vec4(position.xyz, 1.0)); gl_Position = outPos; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; h_normal = vec3(-1.0); }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.3-1276-g192a43c1c 2022-12-02 Vulkan error in shader compilation: info: ERROR: 0:51: 'inf' : undeclared identifier ERROR: 0:51: '' : 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; 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; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); viewPos.xyz += vec3(0.000000, 3.480000, 5.000000)*viewPos.w; float rotAngle = -0.034907; viewPos.yz = vec2(viewPos.y*cos(rotAngle)+viewPos.z*sin(rotAngle), viewPos.z*cos(rotAngle)-viewPos.y*sin(rotAngle)); viewPos.xy *= inf; vec4 outPos = mul(u_proj, viewPos); 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; if (u_cullRangeMin.w > 0.0) { gl_CullDistance[0] = projPos.z - u_cullRangeMin.z; gl_CullDistance[1] = u_cullRangeMax.z - projPos.z; } gl_Position = outPos; gl_PointSize = 1.0; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.3-1276-g192a43c1c 2022-12-02 Vulkan error in shader compilation: info: ERROR: 0:48: 'inf' : undeclared identifier ERROR: 0:48: '' : 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec3 position; layout (location = 1) out lowp vec4 v_color0; layout (location = 3) out highp 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); viewPos.xyz += vec3(0.000000, 3.480000, 5.000000)*viewPos.w; float rotAngle = -0.034907; viewPos.yz = vec2(viewPos.y*cos(rotAngle)+viewPos.z*sin(rotAngle), viewPos.z*cos(rotAngle)-viewPos.y*sin(rotAngle)); viewPos.xy *= inf; vec4 outPos = mul(u_proj, viewPos); v_color0 = u_matambientalpha; 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; if (u_cullRangeMin.w > 0.0) { gl_CullDistance[0] = projPos.z - u_cullRangeMin.z; gl_CullDistance[1] = u_cullRangeMax.z - projPos.z; } gl_Position = outPos; gl_PointSize = 1.0; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.3-1276-g192a43c1c 2022-12-02 Vulkan error in shader compilation: info: ERROR: 0:50: 'inf' : undeclared identifier ERROR: 0:50: '' : 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; 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; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); viewPos.xyz += vec3(0.000000, 3.480000, 5.000000)*viewPos.w; float rotAngle = -0.034907; viewPos.yz = vec2(viewPos.y*cos(rotAngle)+viewPos.z*sin(rotAngle), viewPos.z*cos(rotAngle)-viewPos.y*sin(rotAngle)); viewPos.xy *= inf; vec4 outPos = mul(u_proj, viewPos); v_color0 = u_matambientalpha; 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; if (u_cullRangeMin.w > 0.0) { gl_CullDistance[0] = projPos.z - u_cullRangeMin.z; gl_CullDistance[1] = u_cullRangeMax.z - projPos.z; } gl_Position = outPos; gl_PointSize = 1.0; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.3-1276-g192a43c1c 2022-12-02 Vulkan error in shader compilation: info: ERROR: 0:48: 'inf' : undeclared identifier ERROR: 0:48: '' : 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec3 position; layout (location = 5) in vec4 color0; layout (location = 1) out lowp vec4 v_color0; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); viewPos.xyz += vec3(0.000000, 3.480000, 5.000000)*viewPos.w; float rotAngle = -0.034907; viewPos.yz = vec2(viewPos.y*cos(rotAngle)+viewPos.z*sin(rotAngle), viewPos.z*cos(rotAngle)-viewPos.y*sin(rotAngle)); viewPos.xy *= inf; vec4 outPos = mul(u_proj, viewPos); v_color0 = color0; 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; if (u_cullRangeMin.w > 0.0) { gl_CullDistance[0] = projPos.z - u_cullRangeMin.z; gl_CullDistance[1] = u_cullRangeMax.z - projPos.z; } gl_Position = outPos; gl_PointSize = 1.0; }
Dragon Ball Z: Tenkaichi Tag Team v1.11.3-1276-g192a43c1c 2022-11-02 Vulkan error in shader compilation: info: ERROR: 0:40: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; 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; in float h_depth; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); viewPos.xy *= 0.500000; vec4 outPos = mul(u_proj, viewPos); v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); 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; if (u_cullRangeMin.w > 0.0) { gl_CullDistance[0] = projPos.z - u_cullRangeMin.z; gl_CullDistance[1] = u_cullRangeMax.z - projPos.z; } gl_Position = outPos; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
Midnight Club L.A. Remix v1.9.0 2022-10-01 Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth ERROR: 0:39: 'mod' : 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 layout (early_fragment_tests) in; layout (std140, set = 0, binding = 3) uniform baseUBO { mat4 proj_mtx; mat4 proj_through_mtx; mat3x4 view_mtx; mat3x4 world_mtx; mat3x4 tex_mtx; vec4 uvscaleoffset; vec4 depthRange; vec2 fogcoef; float stencilReplace; vec4 matambientalpha; uint spline_counts; uint depal_mask_shift_off_fmt; int pad2; int pad3; vec4 cullRangeMin; vec4 cullRangeMax; vec3 fogcolor; vec3 texenv; ivec4 alphacolorref; ivec4 alphacolormask; vec3 blendFixA; vec3 blendFixB; vec4 texclamp; vec2 texclampoff; } base; layout (binding = 0) uniform sampler2D tex; layout (location = 1) in vec4 v_color0; layout (location = 0) in vec3 v_texcoord; layout (location = 0, index = 0) out vec4 fragColor0; void main() { vec2 fixedcoord = vec2(mod(v_texcoord.x, base.texclamp.x), mod(v_texcoord.y, base.texclamp.y)); vec4 t = texture(tex, fixedcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0); fragColor0 = v; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.3-1276-g192a43c1c 2022-09-14 Vulkan error in shader compilation: info: ERROR: 0:38: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec4 position; layout (location = 5) in vec4 color0; layout (location = 1) out lowp vec4 v_color0; in float h_depth; void main() { v_color0 = color0; vec4 outPos = mul(u_proj_through, vec4(position.xyz, 1.0)); gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.3-1276-g192a43c1c 2022-09-13 Vulkan error in shader compilation: info: ERROR: 0:43: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec4 position; layout (location = 1) in vec2 texcoord; layout (location = 5) in vec4 color0; layout (location = 6) in vec3 color1; layout (location = 1) out lowp vec4 v_color0; layout (location = 2) out lowp vec3 v_color1; layout (location = 0) out highp vec3 v_texcoord; layout (location = 3) out highp float v_fogdepth; in float h_depth; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; v_color1 = color1; v_fogdepth = position.w; vec4 outPos = mul(u_proj, vec4(position.xyz, 1.0)); 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; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth ERROR: 0:46: 'h_depth' : undeclared identifier ERROR: 0:46: '' : 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; layout (early_fragment_tests) in; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (binding = 0) uniform sampler2D tex; layout (location = 1) in lowp vec4 v_color0; 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 v = vec4(t.rgb * p.rgb, p.a); if (h_depth > 0.000000) v.rgb = vec3(0.0); fragColor0 = v; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:41: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; 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; in float h_depth; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); 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; 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:72: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (std140, set = 0, binding = 4) uniform lightVars { vec4 u_ambient; vec3 u_matdiffuse; vec4 u_matspecular; vec3 u_matemissive; vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; layout (location = 0) in vec3 position; layout (location = 1) out lowp vec4 v_color0; layout (location = 3) out highp float v_fogdepth; in float h_depth; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = u_matambientalpha; 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:76: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (std140, set = 0, binding = 4) uniform lightVars { vec4 u_ambient; vec3 u_matdiffuse; vec4 u_matspecular; vec3 u_matemissive; vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; 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 = 2) out lowp vec3 v_color1; layout (location = 0) out highp vec3 v_texcoord; in float h_depth; 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); lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse); 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_color1 = clamp(lightSum1, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); 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
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:77: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (std140, set = 0, binding = 4) uniform lightVars { vec4 u_ambient; vec3 u_matdiffuse; vec4 u_matspecular; vec3 u_matemissive; vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; 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 = 2) out lowp vec3 v_color1; layout (location = 0) out highp vec3 v_texcoord; layout (location = 3) out highp float v_fogdepth; in float h_depth; 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); lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular0 * color0.rgb * ldot ; } lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse); 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_color1 = clamp(lightSum1, 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_c
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:37: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec3 position; layout (location = 1) out lowp vec4 v_color0; in float h_depth; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = u_matambientalpha; 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:73: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (std140, set = 0, binding = 4) uniform lightVars { vec4 u_ambient; vec3 u_matdiffuse; vec4 u_matspecular; vec3 u_matemissive; vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; layout (location = 0) in vec3 position; layout (location = 2) in vec3 normal; layout (location = 1) out lowp vec4 v_color0; layout (location = 0) out highp vec3 v_texcoord; in float h_depth; 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); v_color0 = u_matambientalpha; v_texcoord = vec3(u_uvscaleoffset.xy * vec2(1.0 + (length(u_lightpos3) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos3), worldnormal)), 1.0 + (length(u_lightpos3) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos3), worldnormal))) * 0.5, 1.0); 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:39: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; 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; in float h_depth; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = u_matambientalpha; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:77: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (std140, set = 0, binding = 4) uniform lightVars { vec4 u_ambient; vec3 u_matdiffuse; vec4 u_matspecular; vec3 u_matemissive; vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; 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 = 2) out lowp vec3 v_color1; layout (location = 0) out highp vec3 v_texcoord; layout (location = 3) out highp float v_fogdepth; in float h_depth; 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); lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse); 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_color1 = clamp(lightSum1, 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.
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:40: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec3 position; layout (location = 2) in vec3 normal; layout (location = 1) out lowp vec4 v_color0; layout (location = 0) out highp vec3 v_texcoord; layout (location = 3) out highp float v_fogdepth; in float h_depth; 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); v_color0 = u_matambientalpha; v_texcoord = mul(length(normal) == 0.0 ? vec4(0.0, 0.0, 1.0, 1.0) : vec4(normalize(normal), 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; 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:76: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (std140, set = 0, binding = 4) uniform lightVars { vec4 u_ambient; vec3 u_matdiffuse; vec4 u_matspecular; vec3 u_matemissive; vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; 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 = 2) out lowp vec3 v_color1; layout (location = 0) out highp vec3 v_texcoord; in float h_depth; 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); lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); 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_color1 = clamp(lightSum1, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:38: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec3 position; layout (location = 1) out lowp vec4 v_color0; layout (location = 3) out highp float v_fogdepth; in float h_depth; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = u_matambientalpha; 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:40: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec4 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; in float h_depth; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; vec4 outPos = mul(u_proj_through, vec4(position.xyz, 1.0)); gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:74: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (std140, set = 0, binding = 4) uniform lightVars { vec4 u_ambient; vec3 u_matdiffuse; vec4 u_matspecular; vec3 u_matemissive; vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; layout (location = 0) in vec3 position; layout (location = 2) in vec3 normal; layout (location = 1) out lowp vec4 v_color0; layout (location = 2) out lowp vec3 v_color1; layout (location = 3) out highp float v_fogdepth; in float h_depth; 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); lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos3; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse3 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = clamp(lightSum1, 0.0, 1.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 = u_cullRangeMax.w
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:40: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; 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; in float h_depth; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:38: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec3 position; layout (location = 5) in vec4 color0; layout (location = 1) out lowp vec4 v_color0; in float h_depth; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = color0; 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:40: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; 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; in float h_depth; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = u_matambientalpha; 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:38: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec4 position; layout (location = 5) in vec4 color0; layout (location = 1) out lowp vec4 v_color0; in float h_depth; void main() { v_color0 = color0; vec4 outPos = mul(u_proj_through, vec4(position.xyz, 1.0)); gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-09-03 Vulkan error in shader compilation: info: ERROR: 0:74: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (std140, set = 0, binding = 4) uniform lightVars { vec4 u_ambient; vec3 u_matdiffuse; vec4 u_matspecular; vec3 u_matemissive; vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; layout (location = 0) in vec3 position; layout (location = 2) in vec3 normal; layout (location = 1) out lowp vec4 v_color0; layout (location = 0) out highp vec3 v_texcoord; layout (location = 3) out highp float v_fogdepth; in float h_depth; 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); v_color0 = u_matambientalpha; v_texcoord = vec3(u_uvscaleoffset.xy * vec2(1.0 + (length(u_lightpos3) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos3), worldnormal)), 1.0 + (length(u_lightpos3) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos3), worldnormal))) * 0.5, 1.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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
戦場のヴァルキュリア3 v1.9.3 2022-08-24 Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth ERROR: 0:43: 'ERROR' : undeclared identifier ERROR: 0:43: '' : 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 layout (std140, set = 0, binding = 3) uniform baseUBO { mat4 proj_mtx; mat4 proj_through_mtx; mat3x4 view_mtx; mat3x4 world_mtx; mat3x4 tex_mtx; vec4 uvscaleoffset; vec4 depthRange; vec2 fogcoef; float stencilReplace; vec4 matambientalpha; uint spline_counts; uint depal_mask_shift_off_fmt; int pad2; int pad3; vec4 cullRangeMin; vec4 cullRangeMax; vec3 fogcolor; vec3 texenv; ivec4 alphacolorref; ivec4 alphacolormask; vec3 blendFixA; vec3 blendFixB; vec4 texclamp; vec2 texclampoff; } base; layout (binding = 0) uniform sampler2D tex; layout (location = 1) in vec4 v_color0; layout (location = 0) in vec3 v_texcoord; int roundAndScaleTo255i(in 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; vec4 v = vec4(t.rgb * p.rgb, p.a); discard; v.rgb = v.rgb * ERROR; fragColor0 = v; }
Assassin's Creed: Bloodlines™ v1.9.0 2022-07-07 Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth ERROR: 0:40: 'texture' : no matching overloaded function found ERROR: 0:40: '=' : cannot convert from ' const float' to ' global highp 4-component vector of float' ERROR: 0:40: '' : 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 layout (early_fragment_tests) in; layout (std140, set = 0, binding = 3) uniform baseUBO { mat4 proj_mtx; mat4 proj_through_mtx; mat3x4 view_mtx; mat3x4 world_mtx; mat3x4 tex_mtx; vec4 uvscaleoffset; vec4 depthRange; vec2 fogcoef; float stencilReplace; vec4 matambientalpha; uint spline_counts; uint depal_mask_shift_off_fmt; int pad2; int pad3; vec4 cullRangeMin; vec4 cullRangeMax; vec3 fogcolor; vec3 texenv; ivec4 alphacolorref; ivec4 alphacolormask; vec3 blendFixA; vec3 blendFixB; vec4 texclamp; vec2 texclampoff; } base; layout (binding = 0) uniform sampler2D tex; layout (location = 1) in vec4 v_color0; layout (location = 3) in float v_fogdepth; layout (location = 0) in 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 v = vec4(t.rgb, p.a); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(base.fogcolor, v.a), v, fogCoef); fragColor0 = vec4(v.rgb, base.stencilReplace); }
NARUTO: Ultimate Ninja Heroes 2 v1.9.0 2022-06-30 Vulkan error in shader compilation: info: ERROR: 0:52: 'normalize' : no matching overloaded function found ERROR: 0:52: '=' : cannot convert from ' const float' to ' global mediump 3-component vector of float' ERROR: 0:52: '' : 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 layout (std140, set = 0, binding = 3) uniform baseVars { mat4 proj_mtx; mat4 proj_through_mtx; mat3x4 view_mtx; mat3x4 world_mtx; mat3x4 tex_mtx; vec4 uvscaleoffset; vec4 depthRange; vec2 fogcoef; float stencilReplace; vec4 matambientalpha; uint spline_counts; uint depal_mask_shift_off_fmt; int pad2; int pad3; vec4 cullRangeMin; vec4 cullRangeMax; vec3 fogcolor; vec3 texenv; ivec4 alphacolorref; ivec4 alphacolormask; vec3 blendFixA; vec3 blendFixB; vec4 texclamp; vec2 texclampoff; } base; layout (std140, set = 0, binding = 4) uniform lightVars { vec4 u_ambient; vec3 matdiffuse; vec4 matspecular; vec3 matemissive; vec3 pos[4]; vec3 dir[4]; vec3 att[4]; vec2 angle_spotCoef[4]; vec3 ambient[4]; vec3 diffuse[4]; vec3 specular[4]; } light; layout (location = 0) in vec3 position; layout (location = 2) in vec3 normal; layout (location = 1) in vec2 texcoord; layout (location = 1) out vec4 v_color0; layout (location = 0) out vec3 v_texcoord; void main() { vec3 worldpos = vec4(position.xyz, 1.0) * base.world_mtx; mediump vec3 worldnormal = normalize(vec4(normal, 0.0) * base.world_mtx); vec4 viewPos = vec4(vec4(worldpos, 1.0) * base.view_mtx, 1.0); vec4 outPos = base.proj_mtx * viewPos; vec4 lightSum0 = light.u_ambient * base.matambientalpha + vec4(light.matemissive, 0.0); v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * base.uvscaleoffset.xy, 0.0); vec3 projPos = outPos.xyz / outPos.w; if (base.cullRangeMin.w <= 0.0 || (projPos.z >= base.cullRangeMin.z && projPos.z <= base.cullRangeMax.z)) { if (projPos.x < base.cullRangeMin.x || projPos.y < base.cullRangeMin.y || projPos.z < base.cullRangeMin.z || projPos.x > base.cullRangeMax.x || projPos.y > base.cullRangeMax.y || projPos.z > base.cullRangeMax.z) { outPos.xyzw = vec4(base.cullRangeMax.w); } } gl_Position = outPos; gl_PointSize = 1.0; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.2-917-g89e70c319 2022-06-12 Vulkan error in shader compilation: info: ERROR: 0:38: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec4 position; layout (location = 5) in vec4 color0; layout (location = 1) out lowp vec4 v_color0; in float h_depth; void main() { v_color0 = color0; vec4 outPos = mul(u_proj_through, vec4(position.xyz, 1.0)); gl_Position = outPos; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
Dragon Ball Z: Tenkaichi Tag Team v1.11.3-1276-g192a43c1c 2022-05-10 Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth ERROR: 0:42: 'h_depth' : undeclared identifier 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 #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; layout (early_fragment_tests) in; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 1) in lowp vec4 v_color0; layout (location = 0, index = 0) out vec4 fragColor0; void main() { vec4 v = v_color0 ; if (h_depth > 0.000000) v.rgb = vec3(0.0); fragColor0 = v; }
Dragon Ball Z: Tenkaichi Tag Team v1.11.3-1276-g192a43c1c 2022-05-10 Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth ERROR: 0:47: 'h_depth' : undeclared identifier ERROR: 0:47: '' : 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; layout (early_fragment_tests) in; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (binding = 0) uniform sampler2D tex; layout (location = 1) in lowp vec4 v_color0; 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 v = p * t; v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0); if (h_depth > 0.000000) v.rgb = vec3(0.0); fragColor0 = v; }
Dragon Ball Z: Tenkaichi Tag Team v1.11.3-1276-g192a43c1c 2022-05-10 Vulkan error in shader compilation: info: ERROR: 0:38: 'location' : SPIR-V requires location for user input/output ERROR: 1 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; 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (location = 0) in vec4 position; layout (location = 5) in vec4 color0; layout (location = 1) out lowp vec4 v_color0; in float h_depth; void main() { v_color0 = color0; vec4 outPos = mul(u_proj_through, vec4(position.xyz, 1.0)); gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; h_depth = outPos.z/outPos.w; }
Twisted Metal: Head-On v1.9.0 2022-02-21 Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth ERROR: 0:38: 'floor' : no matching overloaded function found ERROR: 0:38: '' : 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 layout (std140, set = 0, binding = 3) uniform baseUBO { mat4 proj_mtx; mat4 proj_through_mtx; mat3x4 view_mtx; mat3x4 world_mtx; mat3x4 tex_mtx; vec4 uvscaleoffset; vec4 depthRange; vec2 fogcoef; float stencilReplace; vec4 matambientalpha; uint spline_counts; uint depal_mask_shift_off_fmt; int pad2; int pad3; vec4 cullRangeMin; vec4 cullRangeMax; vec3 fogcolor; vec3 texenv; ivec4 alphacolorref; ivec4 alphacolormask; vec3 blendFixA; vec3 blendFixB; vec4 texclamp; vec2 texclampoff; } base; layout (binding = 0) uniform sampler2D tex; layout (location = 1) in vec4 v_color0; layout (location = 2) in vec3 v_color1; layout (location = 3) in float v_fogdepth; layout (location = 0) in vec3 v_texcoord; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } layout (location = 0, index = 0) out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t + s; if ((roundAndScaleTo255i(v.a) & base.alphacolormask.a) <= base.alphacolorref.a) discard; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(base.fogcolor, v.a), v, fogCoef); fragColor0 = v; }
戦国無双3 Z Special v1.10-6-g8ac4efd3c 2022-02-06 Vulkan error in shader compilation: info: WARNING: 0:4: '#extension' : extension not supported: GL_ARB_conservative_depth ERROR: 0:38: 'ERROR' : undeclared identifier ERROR: 0:38: '' : 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 layout (early_fragment_tests) in; layout (std140, set = 0, binding = 3) uniform baseUBO { mat4 proj_mtx; mat4 proj_through_mtx; mat3x4 view_mtx; mat3x4 world_mtx; mat3x4 tex_mtx; vec4 uvscaleoffset; vec4 depthRange; vec2 fogcoef; float stencilReplace; vec4 matambientalpha; uint spline_counts; uint depal_mask_shift_off_fmt; int pad2; int pad3; vec4 cullRangeMin; vec4 cullRangeMax; vec3 fogcolor; vec3 texenv; ivec4 alphacolorref; ivec4 alphacolormask; vec3 blendFixA; vec3 blendFixB; vec4 texclamp; vec2 texclampoff; } base; layout (location = 1) in vec4 v_color0; layout (location = 0, index = 0) out vec4 fragColor0; void main() { vec4 v = v_color0 ; v.rgb = v.rgb * ERROR; fragColor0 = v; }
TEKKEN 6 v1.12.2 2021-10-20 Vulkan error in shader compilation: info: ERROR: 0:6: '' : syntax error, unexpected IDENTIFIER ERROR: 1 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) preci 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (std140, set = 0, binding = 4) uniform lightVars { vec4 u_ambient; vec3 u_matdiffuse; vec4 u_matspecular; vec3 u_matemissive; vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; 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; 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); lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); 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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; }
TEKKEN 6 v1.12.2 2021-10-20 Vulkan error in shader compilation: info: ERROR: 0:6: '' : syntax error, unexpected IDENTIFIER ERROR: 1 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) preci 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; vec2 u_fogcoef; float u_stencilReplaceValue; vec4 u_matambientalpha; vec4 u_cullRangeMin; vec4 u_cullRangeMax; uint u_spline_counts; uint u_depal_mask_shift_off_fmt; uint u_colorWriteMask; int u_pad3; vec3 u_fogcolor; vec3 u_texenv; ivec4 u_alphacolorref; ivec4 u_alphacolormask; vec3 u_blendFixA; vec3 u_blendFixB; vec4 u_texclamp; vec2 u_texclampoff; }; layout (std140, set = 0, binding = 4) uniform lightVars { vec4 u_ambient; vec3 u_matdiffuse; vec4 u_matspecular; vec3 u_matemissive; vec3 u_lightpos0; vec3 u_lightpos1; vec3 u_lightpos2; vec3 u_lightpos3; vec3 u_lightdir0; vec3 u_lightdir1; vec3 u_lightdir2; vec3 u_lightdir3; vec3 u_lightatt0; vec3 u_lightatt1; vec3 u_lightatt2; vec3 u_lightatt3; vec4 u_lightangle_spotCoef0; vec4 u_lightangle_spotCoef1; vec4 u_lightangle_spotCoef2; vec4 u_lightangle_spotCoef3; vec3 u_lightambient0; vec3 u_lightambient1; vec3 u_lightambient2; vec3 u_lightambient3; vec3 u_lightdiffuse0; vec3 u_lightdiffuse1; vec3 u_lightdiffuse2; vec3 u_lightdiffuse3; vec3 u_lightspecular0; vec3 u_lightspecular1; vec3 u_lightspecular2; vec3 u_lightspecular3; }; 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; 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); lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos3; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse3 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient3 * u_matambientalpha.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 = u_cullRangeMax.wwww; } } gl_Position = outPos; if (gl_Position.z == gl_Position.w) gl_Position.z *= 0.999999; gl_PointSize = 1.0; }