Recent logs - 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
SDガンダム ジージェネレーション オーバーワールド v1.4.2-425-g7a7ccee5e 2020-10-23 Error in shader compilation: info: ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:159: 'col' : undeclared identifier ERROR: 0:175: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:178: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:179: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:190: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:193: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:194: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:205: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:208: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:209: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:220: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:223: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:224: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:226: 'tex' : undeclared identifier / code: #version 130 #define lowp #define mediump #define highp attribute mediump vec4 w1, w2; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; uniform sampler2D u_tess_pos_tex; uniform sampler2D u_tess_tex_tex; uniform sampler2D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y;
판타지 골프 팡야 포터블 v1.4.2-425-g7a7ccee5e 2020-10-28 Error in shader compilation: info: 0(158) : error C1008: undefined variable "u_proj" 0(159) : error C1008: undefined variable "col" 0(175) : error C1008: undefined variable "col" 0(178) : error C1008: undefined variable "col" 0(179) : error C1008: undefined variable "col" 0(190) : error C1008: undefined variable "col" 0(193) : error C1008: undefined variable "col" 0(194) : error C1008: undefined variable "col" 0(205) : error C1008: undefined variable "col" 0(208) : error C1008: undefined variable "col" 0(209) : error C1008: undefined variable "col" 0(220) : error C1008: undefined variable "col" 0(223) : error C1008: undefined variable "col" 0(224) : error C1008: undefined variable "col" 0(226) : error C1008: undefined variable "tex" / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 knot[6], ivec2 patch_pos) { for (int i = 0; i < 6; ++i) { knot[i] = vec2(float(i + patch_pos.x - 2), float(i + patch_pos.y - 2)); } if ((type.x & 1) != 0) { if (patch_pos.x <= 2) knot[0].x = 0.0; if (patch_pos.x <= 1) knot[1].x = 0.0; } if ((type.x & 2) != 0) { if (patch_pos.x >= (num_patches.x - 2)) knot[5].x = float(num_patches.x); if (pa
Tenchu: TOTA v1.4.2-425-g7a7ccee5e 2020-10-18 Error in shader compilation: info: 0(16) : error C1008: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Grand Theft Auto®: Chinatown Wars™ v1.4-2-g648bc5d 2020-10-13 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r6p2-01rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); lowp float angle1 = dot(normalize(u_lightdir1), toLight); if (angle1 >= u_lightangle1) { lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0) * pow(angle1, u_lightspotCoef1); } else { lightScale = 0.0; } diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos3; mediump float dot3 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * dot3; dot3 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot3 > 0.0) lightSum1 += u_lightspecular3 * u_matspecular.rgb * (pow(dot3, u_matspecular.a) ); 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_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
ドラゴンボールZ 真武道会2 v1.4.2-425-g7a7ccee5e 2020-09-17 Error in shader compilation: info: ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:159: 'col' : undeclared identifier ERROR: 0:175: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:178: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:179: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:190: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:193: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:194: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:205: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:208: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:209: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:220: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:223: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:224: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:226: 'tex' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i
仮面ライダー クライマックスヒーローズ オーズ v1.4.2-425-g7a7ccee5e 2020-08-27 Error in shader compilation: info: 0(16) : error C1008: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
討鬼伝 v1.4.2-425-g7a7ccee5e 2020-08-27 Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:16: error(#143) Undeclared identifier: u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
God of War™: Ghost of Sparta v1.4-2-g648bc5d 2020-08-27 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r6p0-01rel1 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(-normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * color0.rgb) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) ); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * color0.rgb) * dot2; lightSum0.rgb += (u_lightambient2 * 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; }
God of War™: Ghost of Sparta v1.4-2-g648bc5d 2020-08-27 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r6p0-01rel1 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * color0.rgb) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) ); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * color0.rgb) * dot2; lightSum0.rgb += (u_lightambient2 * 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; }
Spider-Man: Friend or Foe v1.4.2-425-g7a7ccee5e 2020-08-28 Error in shader compilation: info: 0(158) : error C1008: undefined variable "u_proj" 0(159) : error C1008: undefined variable "col" 0(175) : error C1008: undefined variable "col" 0(178) : error C1008: undefined variable "col" 0(179) : error C1008: undefined variable "col" 0(190) : error C1008: undefined variable "col" 0(193) : error C1008: undefined variable "col" 0(194) : error C1008: undefined variable "col" 0(205) : error C1008: undefined variable "col" 0(208) : error C1008: undefined variable "col" 0(209) : error C1008: undefined variable "col" 0(220) : error C1008: undefined variable "col" 0(223) : error C1008: undefined variable "col" 0(224) : error C1008: undefined variable "col" 0(226) : error C1008: undefined variable "tex" / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 knot[6], ivec2 patch_pos) { for (int i = 0; i < 6; ++i) { knot[i] = vec2(float(i + patch_pos.x - 2), float(i + patch_pos.y - 2)); } if ((type.x & 1) != 0) { if (patch_pos.x <= 2) knot[0].x = 0.0; if (patch_pos.x <= 1) knot[1].x = 0.0; } if ((type.x & 2) != 0) { if (patch_pos.x >= (num_patches.x - 2)) knot[5].x = float(num_patches.x); if (pa
ましろ色シンフォニー *mutsu-no-hana v1.4.2-425-g7a7ccee5e 2020-08-26 Error in shader compilation: info: ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:159: 'col' : undeclared identifier ERROR: 0:175: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:178: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:179: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:190: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:193: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:194: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:205: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:208: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:209: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:220: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:223: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:224: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:226: 'tex' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i
遊☆戯☆王 5D's タッグフォース5 v1.4.2-425-g7a7ccee5e 2020-08-16 Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:16: error(#143) Undeclared identifier: u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(-normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
God of War®: Ghost of Sparta v1.4-2-g648bc5d 2020-08-08 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r2p1_05rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * color0.rgb) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) ); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * color0.rgb) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) ); lightSum0.rgb += (u_lightambient2 * 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; }
SOCOM: Fireteam Bravo 3 v1.4.2 2020-08-08 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r8p0-00dev0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; v_color0 = clamp(clamp(lightSum0, 0.0, 1.0) + vec4(lightSum1, 0.0), 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
The 3rd Birthday v1.4.2-425-g7a7ccee5e 2020-08-07 Error in shader compilation: info: ERROR: 0:19: 'u_proj' : undeclared identifier / code: #version 110 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; attribute lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
The 3rd Birthday v1.4.2-425-g7a7ccee5e 2020-08-05 Error in shader compilation: info: ERROR: 0:18: 'u_proj' : undeclared identifier / code: #version 110 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_texcoord = vec3(u_uvscaleoffset.zw, 0.0); }
戦国BASARA BATTLE HEROES v1.4.2-425-g7a7ccee5e 2020-08-07 Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:158: error(#143) Undeclared identifier u_proj ERROR: 0:159: error(#143) Undeclared identifier col ERROR: 0:175: error(#216) Vector field selection out of range 'rgb' ERROR: 0:178: error(#216) Vector field selection out of range 'rgb' ERROR: 0:179: error(#216) Vector field selection out of range 'rgb' ERROR: 0:190: error(#216) Vector field selection out of range 'rgb' ERROR: 0:193: error(#216) Vector field selection out of range 'rgb' ERROR: 0:194: error(#216) Vector field selection out of range 'rgb' ERROR: 0:205: error(#216) Vector field selection out of range 'rgb' ERROR: 0:208: error(#216) Vector field selection out of range 'rgb' ERROR: 0:209: error(#216) Vector field selection out of range 'rgb' ERROR: 0:220: error(#216) Vector field selection out of range 'rgb' ERROR: 0:223: error(#216) Vector field selection out of range 'rgb' ERROR: 0:224: error(#216) Vector field selection out of range 'rgb' ERROR: 0:226: error(#143) Undeclared identifier tex ERROR: error(#273) 15 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 kn
The 3rd Birthday v1.4.2-425-g7a7ccee5e 2020-09-19 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 110 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Star Wars®: Battlefront II™ v1.4.2 2020-08-04 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r8p0-00dev0 [Revision 96995]. / code: #version 100 precision highp float; attribute mediump vec4 w1, w2; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { mat4 skinMatrix = w1.x * u_bone0 + w1.y * u_bone1 + w1.z * u_bone2 + w1.w * u_bone3 + w2.x * u_bone4 + w2.y * u_bone5 + w2.z * u_bone6 + w2.w * u_bone7; vec3 skinnedpos = (skinMatrix * vec4(position, 1.0)).xyz * 1.9921875; vec3 worldpos = (u_world * vec4(skinnedpos, 1.0)).xyz; mediump vec3 skinnednormal = (skinMatrix * vec4(normal, 0.0)).xyz * 1.9921875; mediump vec3 worldnormal = normalize((u_world * vec4(skinnednormal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot3 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * dot3; lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse) * lightScale; 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; }
LEGO® Harry Potter™: Years 5-7 v1.4.2-425-g7a7ccee5e 2020-08-01 Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:16: error(#143) Undeclared identifier: u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
遊戯王デュエルモンスターズGX タッグフォース 3 v1.4.2-425-g7a7ccee5e 2020-07-31 Error in shader compilation: info: ERROR: 0:19: 'u_proj' : undeclared identifier / code: #version 110 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; attribute lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
Spider-Man 2 v1.4.2-425-g7a7ccee5e 2020-07-29 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
遊戯王デュエルモンスターズGX タッグフォース 3 v1.4.2-425-g7a7ccee5e 2020-07-31 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 110 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
とらドラP! v1.4.2-425-g7a7ccee5e 2020-07-21 Error in shader compilation: info: ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:159: 'col' : undeclared identifier ERROR: 0:165: 'toLight' : undeclared identifier ERROR: 0:165: 'assign' : cannot convert from '3-component vector of float' to 'float' ERROR: 0:166: 'assign' : l-value required "distance" (can't modify void) ERROR: 0:166: 'assign' : cannot convert from 'float' to 'void' ERROR: 0:167: 'assign' : cannot convert from 'void' to 'float' ERROR: 0:168: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:169: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:171: 'lightScale' : undeclared identifier ERROR: 0:171: 'constructor' : can't convert ERROR: 0:171: 'constructor' : can't convert ERROR: 0:173: 'lightScale' : undeclared identifier ERROR: 0:175: 'diffuse' : undeclared identifier ERROR: 0:175: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:175: 'assign' : cannot convert from '3-component vector of float' to 'float' ERROR: 0:178: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:178: 'lightScale' : undeclared identifier ERROR: 0:179: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:180: 'assign' : cannot convert from '3-component vector of float' to 'float' ERROR: 0:181: 'assign' : l-value required "distance" (can't modify void) ERROR: 0:181: 'assign' : cannot convert from 'float' to 'void' ERROR: 0:182: 'assign' : cannot convert from 'void' to 'float' ERROR: 0:183: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:184: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:186: 'constructor' : can't convert ERROR: 0:186: 'constructor' : can't convert ERROR: 0:190: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:190: 'assign' : cannot convert from '3-component vector of float' to 'float' ERROR: 0:193: 'rgb' : field / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2
The 3rd Birthday v1.4.2-425-g7a7ccee5e 2020-07-13 Error in shader compilation: info: ERROR: 0:18: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; out mediump vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_texcoord = vec3(u_uvscaleoffset.zw, 0.0); }
CRISIS CORE -FINAL FANTASY VII- v1.4.2-425-g7a7ccee5e 2020-07-04 Error in shader compilation: info: 0(16) : error C1008: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
スーパーロボット大戦A PORTABLE v1.4.2-425-g7a7ccee5e 2020-07-03 Error in shader compilation: info: 0(16) : error C1503: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
仮面ライダー 超クライマックスヒーローズ v1.4.2-425-g7a7ccee5e 2020-07-02 Error in shader compilation: info: 0(16) : error C1008: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
スーパーロボット大戦MXポータブル v1.4.2-425-g7a7ccee5e 2020-09-05 Error in shader compilation: info: 0(18) : error C1503: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform vec3 u_lightpos1; uniform vec3 u_lightpos3; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
FINAL FANTASY 零式 ディスク2 v1.4.2-425-g7a7ccee5e 2020-06-05 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
刺客信条 血统 汉化版 PLAY汉化组 v1.4.2-425-g7a7ccee5e 2020-05-31 Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:19: error(#143) Undeclared identifier: u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
FIFA 14 - Ru v1.5.2 2020-05-29 Error in shader compilation: info: 0:17: L0002: Undeclared variable 'u_proj' / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
Ys SEVEN v1.4.2-425-g7a7ccee5e 2020-07-13 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
TRON EVOLUTION v1.4-2-g648bc5d 2020-05-21 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r6p0-01rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot3 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * dot3; dot3 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot3 > 0.0) lightSum1 += u_lightspecular3 * u_matspecular.rgb * (pow(dot3, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = clamp(lightSum1, 0.0, 1.0); v_texcoord = vec3(te
METAL GEAR SOLID PEACE WALKER v1.4.2-425-g7a7ccee5e 2020-05-08 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
TEKKEN 6 v1.4.2-530-gf53b455dc 2020-05-03 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
The 3rd Birthday v1.4.2-425-g7a7ccee5e 2020-07-14 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
ドラゴンボールZ 真武道会2 v1.4.2-425-g7a7ccee5e 2020-04-18 Error in shader compilation: info: 0(158) : error C1008: undefined variable "u_proj" 0(159) : error C1008: undefined variable "col" 0(175) : error C1008: undefined variable "col" 0(178) : error C1008: undefined variable "col" 0(179) : error C1008: undefined variable "col" 0(190) : error C1008: undefined variable "col" 0(193) : error C1008: undefined variable "col" 0(194) : error C1008: undefined variable "col" 0(205) : error C1008: undefined variable "col" 0(208) : error C1008: undefined variable "col" 0(209) : error C1008: undefined variable "col" 0(220) : error C1008: undefined variable "col" 0(223) : error C1008: undefined variable "col" 0(224) : error C1008: undefined variable "col" 0(226) : error C1008: undefined variable "tex" / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 knot[6], ivec2 patch_pos) { for (int i = 0; i < 6; ++i) { knot[i] = vec2(float(i + patch_pos.x - 2), float(i + patch_pos.y - 2)); } if ((type.x & 1) != 0) { if (patch_pos.x <= 2) knot[0].x = 0.0; if (patch_pos.x <= 1) knot[1].x = 0.0; } if ((type.x & 2) != 0) { if (patch_pos.x >= (num_patches.x - 2)) knot[5].x = float(num_patches.x); if (pa
Phantasy Star Portable™ 2 v1.4.2-471-g206643b26 2020-04-17 Error in shader compilation: info: 0:16: L0002: Undeclared variable 'u_proj' / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
PES 2019 BY CHELITO 19 v1.4-2-g648bc5d 2020-04-13 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r2p1_05rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute mediump vec4 w1, w2; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { mat4 skinMatrix = w1.x * u_bone0 + w1.y * u_bone1 + w1.z * u_bone2 + w1.w * u_bone3 + w2.x * u_bone4 + w2.y * u_bone5 + w2.z * u_bone6 + w2.w * u_bone7; vec3 skinnedpos = (skinMatrix * vec4(position, 1.0)).xyz * 1.999969482421875; vec3 worldpos = (u_world * vec4(skinnedpos, 1.0)).xyz; mediump vec3 skinnednormal = (skinMatrix * vec4(normal, 0.0)).xyz * 1.999969482421875; mediump vec3 worldnormal = normalize((u_world * vec4(skinnednormal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos2; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; 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); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
Dante's Inferno™ v1.4-2-g648bc5d 2020-04-11 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r6p0-00dev0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot3 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * dot3; dot3 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot3 > 0.0) lightSum1 += u_lightspecular3 * u_matspecular.rgb * (pow(dot3, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient3 * color0.rgb
Dante's Inferno™ v1.4-2-g648bc5d 2020-04-11 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r6p0-00dev0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) ); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; 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; }
Dragon Ball Z: Tenkaichi Tag Team v1.5.2 2020-04-08 Error in shader compilation: info: 0:14: L0002: Undeclared variable 'u_proj' / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Death, Jr. v1.4-2-g648bc5d 2020-03-24 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r6p0-01rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot3 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * dot3; lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse) * lightScale; 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); }
God of War: Chains of Olympus v1.4.2-425-g7a7ccee5e 2020-03-23 Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:19: error(#143) Undeclared identifier u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
God of War: Chains of Olympus v1.4.2-425-g7a7ccee5e 2020-03-24 Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:16: error(#143) Undeclared identifier u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(-normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
FINAL FANTASY IV Complete Collection v1.4.2-425-g7a7ccee5e 2020-03-13 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Summon Night 5™ v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in mediump vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; fragColor0 = v; }
Summon Night 5™ v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in mediump vec3 v_texcoord; inout 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 aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; }
Summon Night 5™ v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in mediump vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; }
Summon Night 5™ v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; inout vec4 fragColor0; void main() { vec4 v = v_color0; fragColor0 = v; }
Summon Night 5™ v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D testtex; in vec4 v_color0; inout vec4 fragColor0; void main() { vec4 v = v_color0 ; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; }
Summon Night 5™ v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in mediump vec3 v_texcoord; inout 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; }
Summon Night 5™ v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; inout vec4 fragColor0; void main() { vec4 v = v_color0 ; fragColor0 = v; }
The Legend Of Heroes: Trails in the Sky v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in mediump vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; fragColor0 = v; }
The Legend Of Heroes: Trails in the Sky v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; inout vec4 fragColor0; void main() { vec4 v = v_color0 ; fragColor0 = v; }
The Legend Of Heroes: Trails in the Sky v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in vec3 v_color1; in mediump vec3 v_texcoord; inout 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; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; }
The Legend Of Heroes: Trails in the Sky v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in mediump vec3 v_texcoord; inout 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 aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; }
The Legend Of Heroes: Trails in the Sky v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; inout vec4 fragColor0; void main() { vec4 v = v_color0; fragColor0 = v; }
The Legend Of Heroes: Trails in the Sky v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in mediump vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; }
The Legend Of Heroes: Trails in the Sky v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in mediump vec3 v_texcoord; inout 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; }
The Legend Of Heroes: Trails in the Sky v1.4-2-g648bc5d 2020-03-12 Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader / code: #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in vec3 v_color1; in mediump vec3 v_texcoord; inout 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 (v.a < 0.002) discard; fragColor0 = v; }
The 3rd Birthday v1.4.2-425-g7a7ccee5e 2020-03-09 Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:16: error(#143) Undeclared identifier: u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
SDガンダム ジージェネレーション ワールド v1.4.2-425-g7a7ccee5e 2020-03-01 Error in shader compilation: info: ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:159: 'col' : undeclared identifier ERROR: 0:165: 'toLight' : undeclared identifier ERROR: 0:165: 'assign' : cannot convert from '3-component vector of float' to 'float' ERROR: 0:166: 'assign' : l-value required "distance" (can't modify void) ERROR: 0:166: 'assign' : cannot convert from 'float' to 'void' ERROR: 0:167: 'assign' : cannot convert from 'void' to 'float' ERROR: 0:168: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:169: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:171: 'lightScale' : undeclared identifier ERROR: 0:171: '*' : wrong operand types no operation '*' exists that takes a left-hand operand of type 'void' and a right operand of type 'void' (or there is no acceptable conversion) ERROR: 0:171: 'constructor' : can't convert ERROR: 0:171: 'constructor' : can't convert ERROR: 0:173: 'lightScale' : undeclared identifier ERROR: 0:175: 'diffuse' : undeclared identifier ERROR: 0:175: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:175: 'assign' : cannot convert from '3-component vector of float' to 'float' ERROR: 0:178: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:178: 'lightScale' : undeclared identifier ERROR: 0:179: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:180: 'assign' : cannot convert from '3-component vector of float' to 'float' ERROR: 0:181: 'assign' : l-value required "distance" (can't modify void) ERROR: 0:181: 'assign' : cannot convert from 'float' to 'void' ERROR: 0:182: 'assign' : cannot convert from 'void' to 'float' ERROR: 0:183: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:184: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:186: '*' : wrong operand types no operation '*' exists that takes a left-hand operand of type 'void' and / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2
ソードアート・オンライン -インフィニティ・モーメント- v1.4.2-425-g7a7ccee5e 2020-07-08 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Gran Turismo® v1.4.2-425-g7a7ccee5e 2020-02-17 Error in shader compilation: info: 0(158) : error C1008: undefined variable "u_proj" 0(159) : error C1008: undefined variable "col" 0(175) : error C1008: undefined variable "col" 0(178) : error C1008: undefined variable "col" 0(179) : error C1008: undefined variable "col" 0(190) : error C1008: undefined variable "col" 0(193) : error C1008: undefined variable "col" 0(194) : error C1008: undefined variable "col" 0(205) : error C1008: undefined variable "col" 0(208) : error C1008: undefined variable "col" 0(209) : error C1008: undefined variable "col" 0(220) : error C1008: undefined variable "col" 0(223) : error C1008: undefined variable "col" 0(224) : error C1008: undefined variable "col" 0(226) : error C1008: undefined variable "tex" / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 knot[6], ivec2 patch_pos) { for (int i = 0; i < 6; ++i) { knot[i] = vec2(float(i + patch_pos.x - 2), float(i + patch_pos.y - 2)); } if ((type.x & 1) != 0) { if (patch_pos.x <= 2) knot[0].x = 0.0; if (patch_pos.x <= 1) knot[1].x = 0.0; } if ((type.x & 2) != 0) { if (patch_pos.x >= (num_patches.x - 2)) knot[5].x = float(num_patches.x); if (pa
Gran Turismo® v1.4.2-471-g206643b26 2020-02-15 Error in shader compilation: info: 0:14: L0002: Undeclared variable 'u_proj' / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Def Jam® Fight For NY™: The Takeover v1.4.1 2020-02-05 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r8p0-00dev0 [Revision 96995]. / code: #version 100 precision highp float; attribute mediump vec4 w1; attribute mediump vec3 w2; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; void main() { mat4 skinMatrix = w1.x * u_bone0 + w1.y * u_bone1 + w1.z * u_bone2 + w1.w * u_bone3 + w2.x * u_bone4 + w2.y * u_bone5 + w2.z * u_bone6; vec3 skinnedpos = (skinMatrix * vec4(position, 1.0)).xyz * 1.9921875; vec3 worldpos = (u_world * vec4(skinnedpos, 1.0)).xyz; mediump vec3 skinnednormal = (skinMatrix * vec4(normal, 0.0)).xyz * 1.9921875; mediump vec3 worldnormal = normalize((u_world * vec4(skinnednormal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
God of War™: Ghost of Sparta v1.4.2-425-g7a7ccee5e 2020-02-04 Error in shader compilation: info: mediump(16) : error C1503: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(-normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
God of War: Ghost of Sparta Demo v1.4.2 2020-01-26 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r6p0-00dev0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * color0.rgb) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) ); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * color0.rgb) * dot2; lightSum0.rgb += (u_lightambient2 * 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; }
TEKKEN 6 v1.4.2-471-g206643b26 2020-01-16 Error in shader compilation: info: Compile failed. ERROR: 0:14: 'u_proj' : undeclared identifier ERROR: 1 compilation errors. No code generated. / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
TEKKEN DARK RESURRECTION v1.4.2-471-g206643b26 2020-01-14 Error in shader compilation: info: 0:16: L0002: Undeclared variable 'u_proj' / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
新・剣と魔法と学園モノ。 刻の学園 v1.4.2-425-g7a7ccee5e 2020-01-05 Error in shader compilation: info: 0(158) : error C1008: undefined variable "u_proj" 0(159) : error C1008: undefined variable "col" 0(175) : error C1008: undefined variable "col" 0(178) : error C1008: undefined variable "col" 0(179) : error C1008: undefined variable "col" 0(190) : error C1008: undefined variable "col" 0(193) : error C1008: undefined variable "col" 0(194) : error C1008: undefined variable "col" 0(205) : error C1008: undefined variable "col" 0(208) : error C1008: undefined variable "col" 0(209) : error C1008: undefined variable "col" 0(220) : error C1008: undefined variable "col" 0(223) : error C1008: undefined variable "col" 0(224) : error C1008: undefined variable "col" 0(226) : error C1008: undefined variable "tex" / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 knot[6], ivec2 patch_pos) { for (int i = 0; i < 6; ++i) { knot[i] = vec2(float(i + patch_pos.x - 2), float(i + patch_pos.y - 2)); } if ((type.x & 1) != 0) { if (patch_pos.x <= 2) knot[0].x = 0.0; if (patch_pos.x <= 1) knot[1].x = 0.0; } if ((type.x & 2) != 0) { if (patch_pos.x >= (num_patches.x - 2)) knot[5].x = float(num_patches.x); if (pa
遊☆戯☆王 アーク□ファイブ タッグフォース スペシャル v1.4.2-425-g7a7ccee5e 2020-09-05 Error in shader compilation: info: 0(16) : error C1503: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
The Sims™ 2 v1.4.2 2019-12-10 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r8p0-00dev0 [Revision 96995]. / code: #version 100 precision highp float; attribute mediump vec4 w1; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; void main() { mat4 skinMatrix = w1.x * u_bone0 + w1.y * u_bone1 + w1.z * u_bone2 + w1.w * u_bone3; vec3 skinnedpos = (skinMatrix * vec4(position, 1.0)).xyz * 1.9921875; vec3 worldpos = (u_world * vec4(skinnedpos, 1.0)).xyz; mediump vec3 skinnednormal = (skinMatrix * vec4(normal, 0.0)).xyz * 1.9921875; mediump vec3 worldnormal = normalize((u_world * vec4(skinnednormal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos2; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot3 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * dot3; lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
The Sims™ 2 v1.4.2 2019-12-10 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r8p0-00dev0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot3 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * dot3; lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
The Sims™ 2 v1.4.2 2019-12-10 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r8p0-00dev0 [Revision 96995]. / code: #version 100 precision highp float; attribute mediump vec4 w1; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; void main() { mat4 skinMatrix = w1.x * u_bone0 + w1.y * u_bone1 + w1.z * u_bone2 + w1.w * u_bone3; vec3 skinnedpos = (skinMatrix * vec4(position, 1.0)).xyz * 1.9921875; vec3 worldpos = (u_world * vec4(skinnedpos, 1.0)).xyz; mediump vec3 skinnednormal = (skinMatrix * vec4(normal, 0.0)).xyz * 1.9921875; mediump vec3 worldnormal = normalize((u_world * vec4(skinnednormal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos2; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos3; mediump float dot3 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * dot3; 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); }
ガンダムバトルユニバース v1.4.2-425-g7a7ccee5e 2019-11-29 Error in shader compilation: info: 0(158) : error C1008: undefined variable "u_proj" 0(159) : error C1008: undefined variable "col" 0(175) : error C1008: undefined variable "col" 0(178) : error C1008: undefined variable "col" 0(179) : error C1008: undefined variable "col" 0(190) : error C1008: undefined variable "col" 0(193) : error C1008: undefined variable "col" 0(194) : error C1008: undefined variable "col" 0(205) : error C1008: undefined variable "col" 0(208) : error C1008: undefined variable "col" 0(209) : error C1008: undefined variable "col" 0(220) : error C1008: undefined variable "col" 0(223) : error C1008: undefined variable "col" 0(224) : error C1008: undefined variable "col" 0(226) : error C1008: undefined variable "tex" / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 knot[6], ivec2 patch_pos) { for (int i = 0; i < 6; ++i) { knot[i] = vec2(float(i + patch_pos.x - 2), float(i + patch_pos.y - 2)); } if ((type.x & 1) != 0) { if (patch_pos.x <= 2) knot[0].x = 0.0; if (patch_pos.x <= 1) knot[1].x = 0.0; } if ((type.x & 2) != 0) { if (patch_pos.x >= (num_patches.x - 2)) knot[5].x = float(num_patches.x); if (pa
第2次スーパーロボット大戦Z 再世篇 v1.4.2-425-g7a7ccee5e 2019-11-20 Error in shader compilation: info: 0(16) : error C1008: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Pirates of the Caribbean: Dead Man's Chest v1.4.2 2019-11-15 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r8p0-00dev0 [Revision 96995]. / code: #version 100 precision highp float; attribute mediump vec4 w1, w2; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { mat4 skinMatrix = w1.x * u_bone0 + w1.y * u_bone1 + w1.z * u_bone2 + w1.w * u_bone3 + w2.x * u_bone4 + w2.y * u_bone5 + w2.z * u_bone6 + w2.w * u_bone7; vec3 skinnedpos = (skinMatrix * vec4(position, 1.0)).xyz * 1.9921875; vec3 worldpos = (u_world * vec4(skinnedpos, 1.0)).xyz; mediump vec3 skinnednormal = (skinMatrix * vec4(normal, 0.0)).xyz * 1.9921875; mediump vec3 worldnormal = normalize((u_world * vec4(skinnednormal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot3 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * dot3; lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse) * lightScale; 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; }
God of War: Ghost of Sparta Demo v1.4.2 2019-10-26 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r4p1-01rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(-normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * color0.rgb) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) ); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * color0.rgb) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) ); lightSum0.rgb += (u_lightambient2 * 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; }
God of War: Ghost of Sparta Demo v1.4.2 2019-10-26 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r4p1-01rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * color0.rgb) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) ); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * color0.rgb) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) ); lightSum0.rgb += (u_lightambient2 * 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; }
SOCOM: Fireteam Bravo 3 v1.4-56-gb1a530b 2019-10-03 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r6p2-01rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; v_color0 = clamp(clamp(lightSum0, 0.0, 1.0) + vec4(lightSum1, 0.0), 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
The 3rd Birthday v1.4.2-425-g7a7ccee5e 2019-12-08 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 130 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Grand Theft Auto: Vice City Stories v1.4.2-417-gb2057256b 2019-09-22 Error in shader compilation: info: 0:14: L0002: Undeclared variable 'u_proj' / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Gran Turismo® v1.4.2-425-g7a7ccee5e 2019-09-22 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 130 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Dante's Inferno™ v1.5.2 2019-09-08 Error in shader compilation: info: 0:14: L0002: Undeclared variable 'u_proj' / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(-normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
FINAL FANTASY IV Complete Collection v1.4.2-425-g7a7ccee5e 2019-09-04 Error in shader compilation: info: 0(158) : error C1008: undefined variable "u_proj" 0(159) : error C1008: undefined variable "col" 0(175) : error C1008: undefined variable "col" 0(178) : error C1008: undefined variable "col" 0(179) : error C1008: undefined variable "col" 0(190) : error C1008: undefined variable "col" 0(193) : error C1008: undefined variable "col" 0(194) : error C1008: undefined variable "col" 0(205) : error C1008: undefined variable "col" 0(208) : error C1008: undefined variable "col" 0(209) : error C1008: undefined variable "col" 0(220) : error C1008: undefined variable "col" 0(223) : error C1008: undefined variable "col" 0(224) : error C1008: undefined variable "col" 0(226) : error C1008: undefined variable "tex" / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 knot[6], ivec2 patch_pos) { for (int i = 0; i < 6; ++i) { knot[i] = vec2(float(i + patch_pos.x - 2), float(i + patch_pos.y - 2)); } if ((type.x & 1) != 0) { if (patch_pos.x <= 2) knot[0].x = 0.0; if (patch_pos.x <= 1) knot[1].x = 0.0; } if ((type.x & 2) != 0) { if (patch_pos.x >= (num_patches.x - 2)) knot[5].x = float(num_patches.x); if (pa
ドラゴンボールZ 真武道会2 v1.4.2-425-g7a7ccee5e 2019-08-25 Error in shader compilation: info: 0(18) : error C1008: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
刺客信条 血统 汉化版 PLAY汉化组 v1.4.2-425-g7a7ccee5e 2019-09-13 Error in shader compilation: info: ERROR: 0:19: 'u_proj' : undeclared identifier / code: #version 130 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; attribute lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
NARUTO: Ultimate Ninja Heroes v1.5.1 2019-08-17 Error in shader compilation: info: 0:14: L0002: Undeclared variable 'u_proj' / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
FIFA 12 v1.5.2 2019-08-09 Error in shader compilation: info: 0:17: L0002: Undeclared variable 'u_proj' / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
ドラゴンボールZ 真武道会2 v1.4.2-425-g7a7ccee5e 2019-08-06 Error in shader compilation: info: ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:159: 'col' : undeclared identifier ERROR: 0:175: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:178: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:179: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:190: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:193: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:194: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:205: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:208: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:209: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:220: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:223: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:224: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:226: 'tex' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f
ナルティメットインパクト v1.4.2-425-g7a7ccee5e 2019-08-02 Error in shader compilation: info: 0(16) : error C1503: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
SDガンダム ジージェネレーション オーバーワールド v1.4.2-425-g7a7ccee5e 2019-09-01 Error in shader compilation: info: ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:159: 'col' : undeclared identifier ERROR: 0:175: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:178: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:179: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:190: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:193: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:194: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:205: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:208: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:209: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:220: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:223: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:224: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:226: 'tex' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i
Dragon Ball Z: Tenkaichi Tag Team v1.4.2-425-g7a7ccee5e 2019-07-15 Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:19: error(#143) Undeclared identifier: u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
刺客信条 血统 汉化版 PLAY汉化组 v1.4.2-425-g7a7ccee5e 2019-08-15 Error in shader compilation: info: 0(19) : error C1503: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
FIFA 07 v1.5.2 2019-06-30 Error in shader compilation: info: 0:17: L0002: Undeclared variable 'u_proj' / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
God of War: Chains of Olympus v1.4.2-425-g7a7ccee5e 2019-06-26 Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 110 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(-normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Marvel™: Ultimate Alliance 2 v1.4-2-g648bc5d 2019-06-23 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r4p1-01rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute mediump vec4 w1; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; void main() { mat4 skinMatrix = w1.x * u_bone0 + w1.y * u_bone1 + w1.z * u_bone2 + w1.w * u_bone3; vec3 skinnedpos = (skinMatrix * vec4(position, 1.0)).xyz * 1.9921875; vec3 worldpos = (u_world * vec4(skinnedpos, 1.0)).xyz; mediump vec3 skinnednormal = (skinMatrix * vec4(normal, 0.0)).xyz * 1.9921875; mediump vec3 worldnormal = normalize((u_world * vec4(skinnednormal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * dot0; lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * dot1; lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * dot2; lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot3 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * dot3; lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }