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
ガンダムバトルユニバース 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-11-23 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); }
The 3rd Birthday v1.4.2-425-g7a7ccee5e 2019-06-21 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; }
Assassin's Creed: Bloodlines™ v1.5.2 2019-06-12 Error in shader compilation: info: 0:17: L0002: Undeclared variable 'u_proj' / code: #version 100 precision highp float; 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; }
God of War™: Ghost of Sparta v1.4.2-425-g7a7ccee5e 2019-06-11 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; }
DEAD OR ALIVE Paradise v1.4.2-425-g7a7ccee5e 2019-06-09 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; }
ましろ色シンフォニー *mutsu-no-hana v1.4.2-425-g7a7ccee5e 2019-06-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
勇者實在太囂張or2 / 용사주제에 건방지다or2 v1.4.2-425-g7a7ccee5e 2019-06-03 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; }
METAL GEAR SOLID PEACE WALKER v1.4.2-425-g7a7ccee5e 2019-06-02 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; }
タクティクスオウガ 運命の輪 v1.4.2-199-g3249d81 2019-05-30 Error in shader compilation: info: ERROR: 0:18: '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; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; 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 = color0; v_texcoord = (u_texmtx * vec4(normal, 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0); }
Aliens vs. Predator™ - Requiem v1.4-2-g648bc5d 2019-05-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 r5p0-01rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; 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; 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 - 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); }
God of War: Chains of Olympus v1.4.2-425-g7a7ccee5e 2019-05-22 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; }
ときめきメモリアル4 v1.4.2-394-g4938ab786 2019-06-21 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; }
Marvel™: Ultimate Alliance 2 v1.4-105-g6f58d4d 2019-05-07 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 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); }
ときめきメモリアル4 v1.4.2-394-g4938ab786 2019-05-02 Error in shader compilation: info: ERROR: 0:19: 'u_proj' : undeclared identifier / 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: Ghost of Sparta Demo v1.5.2 2019-04-29 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; }
Patapon® 3 v1.4.2 2019-05-07 Error in shader compilation: info: ERROR: 0:61: 'null' : undeclared identifier ERROR: 0:61: 'assign' : cannot convert from 'float' to '3-component vector of float' ERROR: 0:61: '(' : syntax error syntax error / code: #version 130 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; 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; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } void main() { vec3 _pos[16]; vec2 _tex[16]; vec4 _col[16]; int num_patches_u = (u_spline_count_u - 1) / 3; int u = int(mod(float(gl_InstanceID), float(num_patches_u))); int v = gl_InstanceID / num_patches_u; ivec2 patch_pos = ivec2(u, v); for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { int index = (i + v * 3) * u_spline_count_u + (j + u * 3); _pos[i * 4 + j] = (null)(u_tess_pos_tex, ivec2(index, 0), 0).xyz; _col[i * 4 + j] = (null)(u_tess_col_tex, ivec2(index, 0), 0).rgba; } } vec2 tess_pos = position.xy; vec2 weights[4]; weights[0] = (1.0 - tess_pos) * (1.0 - tess_pos) * (1.0 - tess_pos); weights[1] = 3.0 * tess_pos * (1.0 - tess_pos) * (1.0 - tess_pos); weights[2] = 3.0 * tess_pos * tess_pos * (1.0 - tess_pos); weights[3] = tess_pos * tess_pos * tess_pos; vec3 pos = tess_sample(_pos, weights); vec4 col = tess_sample(_col, weights); vec2 bernderiv[4]; bernderiv[0] = -3.0 * (tess_pos - 1.0) * (tess_pos - 1.0); bernderiv[1] = 9.0 * tess_pos * tess_pos - 12.0 * tess_pos + 3.0; bernderiv[2] = 3.0 * (2.0 - 3.0 * tess_pos) * tess_pos; bernderiv[3] = 3.0 * tess_pos * tess_pos; vec2 bernderiv_u[4]; vec2 bernderiv_v[4]; for (int i = 0; i < 4; i++) { bernderiv_u[i] = vec2(bernderiv[i].x, weights[i].y); bernderiv_v[i] = vec2(weights[i].x, bernderiv[i].y); } vec3 du = tess_sample(_pos, bernderiv_u); vec3 dv = tess_sample(_pos, bernderiv_v); vec3 nrm = cross(du, dv); nrm = normalize(nrm); vec3 worldpos = (u_world * vec4(pos.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(nrm, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = col; }
仮面ライダー 超クライマックスヒーローズ v1.4.2-425-g7a7ccee5e 2019-05-27 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; }
God of War: Ghost of Sparta Demo v1.4-2-g648bc5d 2019-04-17 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 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-g648bc5d 2019-04-19 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler 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 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; }
NARUTO-ナルト- 疾風伝 ナルティメットインパクト 体験版 v1.5.1 2019-04-07 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; }
God of War: Chains of Olympus v1.4.2-425-g7a7ccee5e 2019-04-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; }
God of War™: Ghost of Sparta v1.4.2-425-g7a7ccee5e 2019-04-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; }
刺客信条 血统 汉化版 PLAY汉化组 v1.4.2-425-g7a7ccee5e 2019-03-22 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; }
Tales of Destiny2 v1.4.2-425-g7a7ccee5e 2019-03-20 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; }
Tales of Destiny2 v1.4.2-425-g7a7ccee5e 2019-03-21 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;
Warhammer 40,000: Squad Command v1.4-105-g6f58d4d 2019-03-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 r4p0-00rel0 [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 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 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 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); 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 - 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); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
METAL GEAR SOLID PEACE WALKER v1.4.2-417-gb2057256b 2019-05-12 Error in shader compilation: info: 0:156: L0002: Undeclared variable 'u_proj' 0:157: L0002: Undeclared variable 'col' 0:173: L0002: Undeclared variable 'col' 0:176: L0002: Undeclared variable 'col' 0:177: L0002: Undeclared variable 'lightSum0' 0:188: L0002: Undeclared variable 'col' 0:191: L0002: Undeclared variable 'col' 0:192: L0002: Undeclared variable 'lightSum0' 0:203: L0002: Undeclared variable 'col' 0:206: L0002: Undeclared variable 'col' 0:207: L0002: Undeclared variable 'lightSum0' 0:218: L0002: Undeclared variable 'col' 0:221: L0002: Undeclared variable 'col' 0:222: L0002: Undeclared variable 'lightSum0' 0:223: L0002: Undeclared variable 'lightSum0' 0:224: L0002: Undeclared variable 'tex' / code: #version 300 es precision highp float; 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 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; 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 (patch_pos.x == (num_patches.x - 1)) knot[4].x = f
METAL GEAR SOLID PEACE WALKER v1.4.2-417-gb2057256b 2019-05-12 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 零式 ディスク2 v1.4.2-425-g7a7ccee5e 2019-02-23 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; }
KINGDOM HEARTS Birth by Sleep FINAL MIX v1.4.2-425-g7a7ccee5e 2019-02-24 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; }
遊☆戯☆王 アーク□ファイブ タッグフォース スペシャル v1.4.2-425-g7a7ccee5e 2019-02-10 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; }
LEGO® Pirates of the Caribbean The Video Game v1.5.1 2019-02-07 Error in shader compilation: info: 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; }
ソードアート・オンライン -インフィニティ・モーメント- v1.4.2-425-g7a7ccee5e 2019-02-07 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; }
薄桜鬼 ポータブル v1.4.2-380-g9bce767b7 2019-02-07 Error in shader compilation: info: Vertex shader compilation failed. ERROR: 0:156: 'u_proj' : undeclared identifier ERROR: 0:157: 'col' : undeclared identifier ERROR: 0:173: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:176: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:177: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:188: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:191: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:192: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:203: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:206: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:207: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:218: 'rgb' : field sel / code: #version 300 es precision highp float; 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 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; 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 + pat
真・三國無雙 MULTI RAID 2 v1.4.2-425-g7a7ccee5e 2019-02-04 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; }
God of War™: Ghost of Sparta v1.4.2-425-g7a7ccee5e 2019-11-17 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; }
God of War™: Ghost of Sparta v1.4.2-425-g7a7ccee5e 2019-08-30 Error in shader compilation: info: 0(19) : error C1008: 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; }
デジモンワールド リ:デジタイズ v1.4.2-425-g7a7ccee5e 2019-02-05 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; }
討鬼伝 v1.4.2-425-g7a7ccee5e 2019-01-31 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; }
TEKKEN 6 v1.4.2-425-g7a7ccee5e 2019-01-31 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; }
ナルティメットインパクト v1.4.2-425-g7a7ccee5e 2019-02-12 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; }
Ghost Recon Advanced Warfighter 2 v1.5.2 2019-01-21 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; }
God of War: Chains of Olympus v1.4.2-425-g7a7ccee5e 2019-09-01 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 2019-01-16 Error in shader compilation: info: 0(16) : error C1008: undefined variable "u_proj" / 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; }
Grand Theft Auto®: Chinatown Wars™ v1.5.2 2019-01-12 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; }
ウィル・オ・ウィスプ ポータブル v1.4.2-380-g9bce767b7 2019-01-07 Error in shader compilation: info: 0:156: L0002: Undeclared variable 'u_proj' 0:157: L0002: Undeclared variable 'col' 0:173: L0002: Undeclared variable 'col' 0:176: L0002: Undeclared variable 'col' 0:177: L0002: Undeclared variable 'lightSum0' 0:188: L0002: Undeclared variable 'col' 0:191: L0002: Undeclared variable 'col' 0:192: L0002: Undeclared variable 'lightSum0' 0:203: L0002: Undeclared variable 'col' 0:206: L0002: Undeclared variable 'col' 0:207: L0002: Undeclared variable 'lightSum0' 0:218: L0002: Undeclared variable 'col' 0:221: L0002: Undeclared variable 'col' 0:222: L0002: Undeclared variable 'lightSum0' 0:223: L0002: Undeclared variable 'lightSum0' 0:224: L0002: Undeclared variable 'tex' / code: #version 300 es precision highp float; 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 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; 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 (patch_pos.x == (num_patches.x - 1)) knot[4].x = f
VALKYRIE PROFILE -LENNETH- v1.4.2-425-g7a7ccee5e 2019-01-06 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; }
DISSIDIA FINAL FANTASY UNIVERSAL TUNING v1.5 2019-01-07 Error in shader compilation: info: ERROR: 0:115: 'null' : undeclared identifier ERROR: 0:115: 'assign' : cannot convert from 'float' to '3-component vector of float' ERROR: 0:115: '(' : syntax error syntax error / code: #version 130 #define lowp #define mediump #define highp 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 lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; 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; 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 (patch_pos.x == (num_patches.x - 1)) knot[4].x = float(num_patches.x); } if ((type.y & 1) != 0) { if (patch_pos.y <= 2) knot[0].y = 0.0; if (patch_pos.y <= 1) knot[1].y = 0.0; } if ((type.y & 2) != 0) { if (patch_pos.y >= (num_patches.y - 2)) knot[5].y = float(num_patches.y); if (patch_pos.y == (num_patches.y - 1)) knot[4].y = float(num_patches.y); } } void spline_weight(vec2 t, in vec2 knot[6], out vec2 weights[4]) { vec2 t0 = (t - knot[0]); vec2 t1 = (t - knot[1]); vec2 t2 = (t - knot[2]); vec2 f30 = t0 / (knot[3] - knot[0]); vec2 f41 = t1 / (knot[4] - knot[1]); vec2 f52 = t2 / (knot[5] - knot[2]); vec2 f31 = t1 / (knot[3] - knot[1]); vec2 f42 = t2 / (knot[4] - knot[2]); vec2 f32 = t2 / (knot[3] - knot[2]); vec2 a = (1.0 - f30)*(1.0 - f31); vec2 b = (f31*f41); vec2 c = (1.0 - f41)*(1.0 - f42); vec2 d = (f42*f52); weights[0] = a - (a*f32); weights[1] = vec2(1.0) - a - b + ((a + b + c - vec2(1.0))*f32); weights[2] = b + ((vec2(1.0) - b - c - d)*f32); weights[3] = d*f32; } void main() { vec3 _pos[16]; vec2 _tex[16]; vec4 _col[16]; int num_patches_u = u_spline_count_u - 3; int u = int(mod(float(gl_InstanceID), float(num_patches_u))); int v = gl_InstanceID / num_patches_u; ivec2 patch_pos = ivec2(u, v); for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { int index = (i + v) * u_spline_count_u + (j + u); _pos[i * 4 + j] = (null)(u_tess_pos_tex, ivec2(index, 0), 0).xyz; _tex[i * 4 + j] = (null)(u_tess_tex_tex, ivec2(index, 0), 0).xy; _col[i * 4 + j] = (null)(u_tess_col_tex, ivec2(index, 0), 0).rgba; } } vec2 tess_pos = position.xy; vec2 weights[4]; ivec2 spline_num_patches = ivec2(u_spline_count_u - 3, u_spline_count_v - 3); ivec2 spline_type = ivec2(u_spline_type_u, u_spline_type_v); vec2 knots[6]; spline_knot(spline_num_patches, spline_type, knots, patch_pos); spline_weight(tess_pos + vec2(patch_pos), knots, wei
英雄伝説 零の軌跡 v1.4.2-425-g7a7ccee5e 2019-01-21 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; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.5.2 2018-12-31 Error in shader compilation: info: 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; }
FINAL FANTASY IV Complete Collection v1.4.2-425-g7a7ccee5e 2018-12-27 Error in shader compilation: info: 0(15) : error C1008: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; 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 = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
Dragon Ball Z Shin Budokai v1.4.2-268-gf8213a9 2018-12-25 Error in shader compilation: info: ERROR: 0:56: Use of undeclared identifier 'gl_InstanceID' ERROR: 0:57: Use of undeclared identifier 'gl_InstanceID' ERROR: 0:58: Use of undeclared identifier 'u' ERROR: 0:58: Use of undeclared identifier 'v' ERROR: 0:61: Use of undeclared identifier 'v' ERROR: 0:61: Use of undeclared identifier 'u' ERROR: 0:62: Use of undeclared identifier 'index' ERROR: 0:72: Use of undeclared identifier 'patch_pos' ERROR: 0:73: Invalid call of undeclared identifier 'null' ERROR: 0:93: Use of undeclared identifier 'col' ERROR: 0:94: Use of undeclared identifier 'tex' / 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 lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying highp vec3 v_texcoord; 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; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } void main() { vec3 _pos[16]; vec2 _tex[16]; vec4 _col[16]; int num_patches_u = (u_spline_count_u - 1) / 3; int u = int(mod(float(gl_InstanceID), float(num_patches_u))); int v = gl_InstanceID / num_patches_u; ivec2 patch_pos = ivec2(u, v); for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { int index = (i + v * 3) * u_spline_count_u + (j + u * 3); _pos[i * 4 + j] = (null)(u_tess_pos_tex, ivec2(index, 0), 0).xyz; } } vec2 tess_pos = position.xy; vec2 weights[4]; weights[0] = (1.0 - tess_pos) * (1.0 - tess_pos) * (1.0 - tess_pos); weights[1] = 3.0 * tess_pos * (1.0 - tess_pos) * (1.0 - tess_pos); weights[2] = 3.0 * tess_pos * tess_pos * (1.0 - tess_pos); weights[3] = tess_pos * tess_pos * tess_pos; vec3 pos = tess_sample(_pos, weights); vec2 tex = tess_pos + vec2(patch_pos); vec4 col = (null)(u_tess_col_tex, ivec2(0, 0), 0).rgba; vec2 bernderiv[4]; bernderiv[0] = -3.0 * (tess_pos - 1.0) * (tess_pos - 1.0); bernderiv[1] = 9.0 * tess_pos * tess_pos - 12.0 * tess_pos + 3.0; bernderiv[2] = 3.0 * (2.0 - 3.0 * tess_pos) * tess_pos; bernderiv[3] = 3.0 * tess_pos * tess_pos; vec2 bernderiv_u[4]; vec2 bernderiv_v[4]; for (int i = 0; i < 4; i++) { bernderiv_u[i] = vec2(bernderiv[i].x, weights[i].y); bernderiv_v[i] = vec2(weights[i].x, bernderiv[i].y); } vec3 du = tess_sample(_pos, bernderiv_u); vec3 dv = tess_sample(_pos, bernderiv_v); vec3 nrm = cross(du, dv); nrm = normalize(nrm); vec3 worldpos = (u_world * vec4(pos.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(nrm, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = col; v_texcoord = vec3(tex * u_uvscaleoffset.xy + u_uvscaleoffset.zw, 0.0); }
FINAL FANTASY IV Complete Collection v1.4.2-425-g7a7ccee5e 2019-09-05 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 2018-12-23 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; }
イースvs.空の軌跡 オルタナティブ・サーガ v1.4.2-425-g7a7ccee5e 2018-12-23 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; }
英雄伝説 空の軌跡SC v1.4.2-425-g7a7ccee5e 2019-04-13 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
Def Jam® Fight For NY™: The Takeover v1.4.2-417-gb2057256b 2018-12-23 Error in shader compilation: info: Vertex shader compilation failed. ERROR: 0:156: 'u_proj' : undeclared identifier ERROR: 0:157: 'col' : undeclared identifier ERROR: 0:173: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:176: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:177: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:188: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:191: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:192: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:203: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:206: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:207: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:218: 'rgb' : field sel / code: #version 300 es precision highp float; 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 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; 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 + pat
Death, Jr. v1.4.2 2018-12-20 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 mediump mat4 u_texmtx; 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; 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; 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 = (u_texmtx * vec4(texcoord.xy, 0.0, 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
英雄伝説 空の軌跡 the 3rd v1.4.2-425-g7a7ccee5e 2019-04-25 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; }
FINAL FANTASY 零式 ディスク2 v1.4.2-425-g7a7ccee5e 2018-12-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; }
DISSIDIA FINAL FANTASY v1.4.2-425-g7a7ccee5e 2019-03-31 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 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; }
スーパーダンガンロンパ2 さよなら絶望学園 v1.4.2-425-g7a7ccee5e 2018-12-14 Error in shader compilation: info: 0(16) : error C1008: undefined variable "u_proj" / 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; }
ドラゴンボールZ 真武道会2 v1.4.2-425-g7a7ccee5e 2019-08-06 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; }
DRAGON BALL Z SHIN BUDOKAI 2 v1.4.2-417-gb2057256b 2018-12-23 Error in shader compilation: info: 0:156: L0002: Undeclared variable 'u_proj' 0:157: L0002: Undeclared variable 'col' 0:173: L0002: Undeclared variable 'col' 0:176: L0002: Undeclared variable 'col' 0:177: L0002: Undeclared variable 'lightSum0' 0:188: L0002: Undeclared variable 'col' 0:191: L0002: Undeclared variable 'col' 0:192: L0002: Undeclared variable 'lightSum0' 0:203: L0002: Undeclared variable 'col' 0:206: L0002: Undeclared variable 'col' 0:207: L0002: Undeclared variable 'lightSum0' 0:218: L0002: Undeclared variable 'col' 0:221: L0002: Undeclared variable 'col' 0:222: L0002: Undeclared variable 'lightSum0' 0:223: L0002: Undeclared variable 'lightSum0' 0:224: L0002: Undeclared variable 'tex' / code: #version 300 es precision highp float; 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 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; 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 (patch_pos.x == (num_patches.x - 1)) knot[4].x =
Call of Duty : Roads to Victory™ v1.4.2-417-gb2057256b 2018-12-07 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; }
Spider-Man 3 v1.4.2-425-g7a7ccee5e 2018-12-22 Error in shader compilation: info: 0(13) : error C1008: undefined variable "ERROR" / code: #version 330 #define lowp #define mediump #define highp uniform sampler2D testtex; in vec4 v_color0; in vec3 v_color1; out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 v = v_color0 + s; discard; v.rgb = v.rgb * ERROR; fragColor0 = v; }
FINAL FANTASY 零式 ディスク1 v1.4.2-425-g7a7ccee5e 2018-11-25 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; }
テイルズ オブ ファンタジア なりきりダンジョンX v1.4.2-391-g393b3697c 2018-11-22 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
スーパーロボット大戦OGサーガ 魔装機神 THE LORD OF ELEMENTAL v1.4.2-425-g7a7ccee5e 2018-12-19 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 2018-11-19 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
討鬼伝 極 アクション体験版 v1.4.2 2018-11-18 Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r4p0-00rel0 [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 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 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() { 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); 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 * 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; 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 * 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); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
NARUTO: Ultimate Ninja Heroes 2 v1.4.2-425-g7a7ccee5e 2018-11-10 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 2019-08-22 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; }
GOD EATER BURST 通常版 v1.4.2-425-g7a7ccee5e 2018-11-03 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; }
Call of Duty : Roads to Victory™ v1.4.2-425-g7a7ccee5e 2018-10-27 Error in shader compilation: info: ERROR: 0:19: 'u_proj' : undeclared identifier / 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; }
ドラゴンボールZ 真武道会2 v1.4.2-425-g7a7ccee5e 2019-07-29 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; }
Medal of Honor Heroes™ v1.5.1 2018-10-26 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; }
Assassin's Creed: Bloodlines™ v1.5.2 2018-10-25 Error in shader compilation: info: Vertex shader compilation failed. ERROR: 0:17: '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; 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; }