| Message |
# of games |
Rows |
Hits |
Latest Report |
| Error in shader compilation: info:
00000000:00000918 HWX C T Tex
#version 300 es
precision highp float;
in vec3 position;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
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 = vec3(0.0, 0.0, 1.0);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
gl_Position = u_proj * viewPos;
v_color0 = color0;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
}
|
2 |
2 |
2 |
2022-03-20 |
| Error in shader compilation: info: Vertex shader failed to compile with the following errors:
ERROR: 0:9: error(#143) Undeclared identifier: a_
ERROR: 0:9: error(#143) Undeclared identifier: undefined
ERROR: 0:9: error(#131) Syntax error: pre-mature EOF parse error
ERROR: error(#273) 3 compilation errors. No code generated
postshader
#version 430
out vec2 v_texcoord0;
in vec2 a_texcoord0;
in vec4 a_position;
void main()
{
v_texcoord0 = a_ |
2 |
2 |
2 |
2022-03-06 |
| Error in shader compilation: info: Vertex shader compilation failed.
ERROR: 0:144: 'outerProduct' : no matching overloaded function found
ERROR: 0:144: '=' : cannot convert from 'const float' to '4X4 matrix of float'
ERROR: 2 compilation errors. No code generated.
80000000:00002b0c HWX C T N Fog Bezier TessT
#version 300 es
// Adreno (TM) 306 - GLSL 300
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
in vec3 position;
in mediump vec3 normal;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out mediump float v_fogdepth;
uniform sampler2D u_tess_points;
uniform sampler2D u_tess_weights_u;
uniform sampler2D u_tess_weights_v;
uniform int u_spline_counts;
vec2 tess_sample(in vec2 points[16], mat4 weights) {
vec2 pos = vec2(0.0, 0.0);
pos += weights[0][0] * points[0];
pos += weights[0][1] * points[1];
pos += weights[0][2] * points[2];
pos += weights[0][3] * points[3];
pos += weights[1][0] * points[4];
pos += weights[1][1] * points[5];
pos += weights[1][2] * points[6];
pos += weights[1][3] * points[7];
pos += weights[2][0] * points[8];
pos += weights[2][1] * points[9];
pos += weights[2][2] * points[10];
pos += weights[2][3] * points[11];
pos += weights[3][0] * points[12];
pos += weights[3][1] * points[13];
pos += weights[3][2] * points[14];
pos += weights[3][3] * points[15];
return pos;
}
vec3 tess_sample(in vec3 points[16], mat4 weights) {
vec3 pos = vec3(0.0, 0.0, 0.0);
pos += weights[0][0] * points[0];
pos += weights[0][1] * points[1];
pos += weights[0][2] * points[2];
pos += weights[0][3] * points[3];
pos += weights[1][0] * points[4];
pos += weights[1][1] * points[5];
pos += weights[1][2] * points[6];
pos += weights[1][3] * points[7];
pos += weights[2][0] * points[8];
pos += weights[2][1] * points[9];
pos += weights[2][2] * points[10];
pos += weights[2][3] * points[11];
pos += weights[3][0] * points[12];
pos += weights[3][1] * points[13];
pos += weights[3][2] * points[14];
pos += weights[3][3] * points[15];
return pos;
}
vec4 tess_sample(in vec4 points[16], mat4 weights) {
vec4 pos = vec4(0.0, 0.0, 0.0, 0.0);
pos += weights[0][0] * points[0];
pos += weights[0][1] * points[1];
pos += weights[0][2] * points[2];
pos += weights[0][3] * points[3];
pos += weights[1][0] * points[4];
pos += weights[1][1] * points[5];
pos += weights[1][2] * points[6];
pos += weights[1][3] * points[7];
pos += weights[2][0] * points[8];
pos += weights[2][1] * points[9];
pos += weights[2][2] * points[10];
pos += weights[2][3] * points[11];
pos += weights[3][0] * points[12];
pos += weights[3][1] * points[13];
pos += weights[3][2] * points[14];
pos += weights[3][3] * points[15];
return pos;
}
struct Tess {
vec3 pos;
vec4 col;
};
void tessellate(out Tess tess) {
ivec2 point_pos = ivec2(position.z, normal.z) * 3;
ivec2 weight_idx = ivec2(position.xy);
vec3 _pos[16];
vec2 _tex[16];
vec4 _col[16];
int index_u, index_v;
index_u = (0 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[0] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
index_u = (1 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[1] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
index_u = (2 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[2] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
index_u = (3 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[3] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
index_u = (0 + point_pos.x);
index_v = (1 + point_pos.y);
_pos[4] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
index_u = (1 + point_pos.x);
index_v = (1 + point_pos.y);
_pos[5] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
index_u = (2 + point_pos.x);
index_v = (1 + point_pos.y);
_pos[6] |
1 |
1 |
2 |
2022-03-03 |
| Error in shader compilation: info: Vertex shader compilation failed.
ERROR: 0:162: 'outerProduct' : no matching overloaded function found
ERROR: 0:162: '=' : cannot convert from 'const float' to '4X4 matrix of float'
ERROR: 2 compilation errors. No code generated.
80000000:00002b18 HWX C T N Tex Bezier TessT
#version 300 es
// Adreno (TM) 306 - GLSL 300
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
in vec3 position;
in mediump vec3 normal;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
uniform sampler2D u_tess_points;
uniform sampler2D u_tess_weights_u;
uniform sampler2D u_tess_weights_v;
uniform int u_spline_counts;
vec2 tess_sample(in vec2 points[16], mat4 weights) {
vec2 pos = vec2(0.0, 0.0);
pos += weights[0][0] * points[0];
pos += weights[0][1] * points[1];
pos += weights[0][2] * points[2];
pos += weights[0][3] * points[3];
pos += weights[1][0] * points[4];
pos += weights[1][1] * points[5];
pos += weights[1][2] * points[6];
pos += weights[1][3] * points[7];
pos += weights[2][0] * points[8];
pos += weights[2][1] * points[9];
pos += weights[2][2] * points[10];
pos += weights[2][3] * points[11];
pos += weights[3][0] * points[12];
pos += weights[3][1] * points[13];
pos += weights[3][2] * points[14];
pos += weights[3][3] * points[15];
return pos;
}
vec3 tess_sample(in vec3 points[16], mat4 weights) {
vec3 pos = vec3(0.0, 0.0, 0.0);
pos += weights[0][0] * points[0];
pos += weights[0][1] * points[1];
pos += weights[0][2] * points[2];
pos += weights[0][3] * points[3];
pos += weights[1][0] * points[4];
pos += weights[1][1] * points[5];
pos += weights[1][2] * points[6];
pos += weights[1][3] * points[7];
pos += weights[2][0] * points[8];
pos += weights[2][1] * points[9];
pos += weights[2][2] * points[10];
pos += weights[2][3] * points[11];
pos += weights[3][0] * points[12];
pos += weights[3][1] * points[13];
pos += weights[3][2] * points[14];
pos += weights[3][3] * points[15];
return pos;
}
vec4 tess_sample(in vec4 points[16], mat4 weights) {
vec4 pos = vec4(0.0, 0.0, 0.0, 0.0);
pos += weights[0][0] * points[0];
pos += weights[0][1] * points[1];
pos += weights[0][2] * points[2];
pos += weights[0][3] * points[3];
pos += weights[1][0] * points[4];
pos += weights[1][1] * points[5];
pos += weights[1][2] * points[6];
pos += weights[1][3] * points[7];
pos += weights[2][0] * points[8];
pos += weights[2][1] * points[9];
pos += weights[2][2] * points[10];
pos += weights[2][3] * points[11];
pos += weights[3][0] * points[12];
pos += weights[3][1] * points[13];
pos += weights[3][2] * points[14];
pos += weights[3][3] * points[15];
return pos;
}
struct Tess {
vec3 pos;
vec2 tex;
vec4 col;
};
void tessellate(out Tess tess) {
ivec2 point_pos = ivec2(position.z, normal.z) * 3;
ivec2 weight_idx = ivec2(position.xy);
vec3 _pos[16];
vec2 _tex[16];
vec4 _col[16];
int index_u, index_v;
index_u = (0 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[0] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
_tex[0] = texelFetch(u_tess_points, ivec2(index_u + u_spline_counts, index_v), 0).xy;
index_u = (1 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[1] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
_tex[1] = texelFetch(u_tess_points, ivec2(index_u + u_spline_counts, index_v), 0).xy;
index_u = (2 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[2] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
_tex[2] = texelFetch(u_tess_points, ivec2(index_u + u_spline_counts, index_v), 0).xy;
index_u = (3 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[3] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
_tex[3] = texelFetch(u_tess_points, ivec2(i |
1 |
1 |
2 |
2022-03-03 |
| Error in shader compilation: info: (unknown reason)
00000000:0000091c HWX C T Fog Tex
#version 100
// NVIDIA Tegra 3 - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
attribute vec3 position;
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;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
v_color0 = color0;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
gl_Position = outPos;
}
|
1 |
1 |
2 |
2022-02-19 |
| Error in shader compilation: info: (unknown reason)
00000000:00000914 HWX T Fog Tex
#version 100
// NVIDIA Tegra 3 - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
attribute vec3 position;
attribute vec2 texcoord;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
v_color0 = u_matambientalpha;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
gl_Position = outPos;
}
|
1 |
1 |
2 |
2022-02-19 |
| Error in shader compilation: info: (unknown reason)
00000000:0020d002 Tex Fog TFuncMod AlphaTest >
#version 100
// NVIDIA Tegra 3 - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
uniform sampler2D tex;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = vec4(t.rgb * p.rgb, p.a);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) DISCARD;
gl_FragColor = v;
}
|
1 |
1 |
2 |
2022-02-19 |
| Error in shader compilation: info: (unknown reason)
00000000:00000b14 HWX T N Fog Tex
#version 100
// NVIDIA Tegra 3 - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
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 lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(normal, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
v_color0 = u_matambientalpha;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
gl_Position = outPos;
}
|
1 |
1 |
2 |
2022-02-19 |
| Error in shader compilation: info: Compile failed.
01310088:00000b18 HWX C T N Tex Light: 0: c:0 t:2 1: c:0 t:2 MatUp:1
#version 100
precision highp float;
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform mediump vec3 u_lightdir0;
uniform mediump vec2 u_lightangle_spotCoef0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform mediump vec3 u_lightdir1;
uniform mediump vec2 u_lightangle_spotCoef1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform lowp vec4 u_ambient;
uniform lowp vec3 u_matdiffuse;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
varying lowp vec4 v_color0;
varying highp vec3 v_texcoord;
void main() {
vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz;
mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
gl_Position = u_proj * viewPos;
lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
lowp float angle;
toLight = u_lightpos0 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = max(dot(toLight, worldnormal), 0.0);
angle = dot(normalize(u_lightdir0), toLight);
if (angle >= u_lightangle_spotCoef0.x) {
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0) * pow(angle, u_lightangle_spotCoef0.y);
} else {
lightScale = 0.0;
}
diffuse = (u_lightdiffuse0 * u_matdiffuse) * ldot;
lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = max(dot(toLight, worldnormal), 0.0);
angle = dot(normalize(u_lightdir1), toLight);
if (angle >= u_lightangle_spotCoef1.x) {
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0) * pow(angle, u_lightangle_spotCoef1.y);
} else {
lightScale = 0.0;
}
diffuse = (u_lightdiffuse1 * u_matdiffuse) * ldot;
lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale;
v_color0 = clamp(lightSum0, 0.0, 1.0);
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
}
|
1 |
1 |
2 |
2022-02-02 |
| Error in shader compilation: info: ERROR: 0:23: Use of undeclared identifier 'u_proj'
ERROR: 0:26: Use of undeclared identifier 'outPos'
00000000:00000912 THR HWX T Tex
#version 300 es
// Apple A15 GPU - GLSL 300
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
in vec3 position;
in vec2 texcoord;
uniform mat4 u_proj_through;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
v_color0 = u_matambientalpha;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy + u_uvscaleoffset.zw, 0.0);
gl_Position = outPos;
}
|
1 |
1 |
2 |
2022-02-01 |
| Error in shader compilation: info: (unknown reason)
00004000:0021d022 Tex TexAlpha Fog Flat TFuncMod AlphaTest0 >
#version 320 es
#extension GL_ARM_shader_framebuffer_fetch : require
// Mali-T860 - GLSL 320
#define DISCARD discard
precision lowp float;
precision highp int;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
uniform sampler2D tex;
uniform sampler2D testtex;
flat in lowp vec4 v_color0;
uniform vec3 u_fogcolor;
in mediump float v_fogdepth;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t;
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
if (v.a < 0.002) DISCARD;
fragColor0 = v;
}
|
1 |
1 |
2 |
2022-01-12 |
| Error in shader compilation: info: ERROR: 0:9: 'a_' : undeclared identifier
ERROR: 0:9: 'assign' : cannot convert from 'highp float' to 'Position 4-component vector of highp float'
ERROR: 0:? : 'pre-mature EOF' : syntax error syntax error
postshader
#version 440
in vec4 a_position;
out vec2 v_texcoord0;
in vec2 a_texcoord0;
void main()
{
gl_Position = a_ |
1 |
1 |
2 |
2022-01-11 |
| Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier
ERROR: 1 compilation errors. No code generated.
00000000:0003011a THR HWX C Tex UVUnk
#version 300 es
precision highp float;
in vec3 position;
in lowp vec4 color0;
uniform mat4 u_proj_through;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
void main() {
vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz;
mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
vec4 outPos = u_proj * viewPos;
v_color0 = color0;
v_texcoord = vec3(u_uvscaleoffset.zw, 0.0);
gl_Position = outPos;
}
|
1 |
1 |
2 |
2021-11-03 |
| Error in shader compilation: info: (unknown reason)
00000000:0000000a THR C
#version 300 es
precision highp float;
in vec4 position;
in lowp vec4 color0;
uniform mat4 u_proj_through;
out lowp vec4 v_color0;
void main() {
v_color0 = color0;
vec4 outPos = u_proj_through * vec4(position.xyz, 1.0);
gl_Position = outPos;
}
|
1 |
1 |
2 |
2021-07-30 |
| Error in shader compilation: info: Compile failed.
ERROR: 0:589: 'mix' : no matching overloaded function found
ERROR: 0:589: 'assign' : cannot convert from 'float' to '3-component vector of float'
ERROR: 2 compilation errors. No code generated.
WARNING: 0:392: Calls to any function that may require a gradient calculation inside a conditional block may return undefined results
WARNING: 1 compilation warnings.
postshader
// Buddy Gaming PPSSPP shaders
// Like and follow my page in Facebook.
// https://web.facebook.com/Buddy-102805721398522
// Subscribe to my channel budds TV
// https://youtu.be/UVdCrKa6hsM
//======================================================================================================================================================================
//Extra options:
#define FXAA 1 //ON:1/OFF:0 /default FXAA, info above
//there's no extra config for fxaa here since from what I checked this simple fxaa version offers only more blur or less aa;c, you can check it yourself below
//================
#define GAUSS_SQ 1 //ON:1/OFF:0 /full square gauss filtering, don't use with either FXAA nor sharpen filters
#define Gsmoothing 6.0 //Default: 3.5 /increase for smoother(blurry) graphics
//================
#define GAUSS_S 1 //ON:1/OFF:0 /simple gauss filtering by Bigpet, slightly different from above /you can find standalone in https://github.com/hrydgard/ppsspp/issues/7242
//================
#define MIKU 0 //Hatsune<3 this is an optional filter for all those pale anime faces which get white with bloom/colored:P tested on Miku in white dress
//================
#define BLOOM 1 //ON:1/OFF:0 /bloom implementation from "my heroics" blog http://myheroics.wordpress.com/2008/09/04/glsl-bloom-shader/
#define samples 2 //Default: 4 /higher = more glow, worser performance
#define quality 0.25 //Default: 0.25 /lower = smaller glow, better quality
#define factor 0.002 //Default: 0.002 /just an extra tweak for the bloom slightly higher values might look better in some cases, but too much can cause artifacts
#define Bpower 0.9 //Default: 0.5 /amount of bloom mixed
//================
#define COLORED 0 //ON:1/OFF:0 /coloring part of KrossX Overlay Bloom shader from here http://www.mediafire.com/krossx#ste5pa5ijfa0o
#define Cpower 0.5 //Default: 0.5 /amount of effect mixed
//================
#define SHARPEN 0 //ON:1/OFF:0 /a simple sharpen filter, might be counterproductive to FXAA and BLOOM, hence disabled by default
#define value 1.0 //Default: 7.5 /higher = more visible effect
//================
#define S_COM_V2 0 //Sharpen Complex v2 from https://github.com/mpc-hc similar to above in effect, maybe more accurate
#define S_val0 5.0 //Default: 5.0 /higher ~ increases sharpness /negative ~ can add extra blurr/strange effect
//================
#define SHADEBOOST 1 //ON:1/OFF:0 /color correction from GSdx/pcsx2 plugin, initially taken from http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=21057
#define saturation 1.0 //Default: 1.0 //negative will look like inverted colors shader
#define brightness 0.7 //Default: 1.0
#define contrast 1.2 //Default: 1.0 //negative will be... well negative;p
#define red 1.3 //Default: 1.0
#define green 1.3 //Default: 1.0
#define blue 1.3 //Default: 1.0
//Shadeboost presets: //Shadeboost must be activated, presets override options above
int SEPIA = 0; //Moody coolors:)
int GRAYSCALE = 0; //Just for lols?
int NEGATIVE = 0; //As above
int PSPCOLORS = 0; //Makes the colors as on older PSP screens(colder)
//All presets are simple switch ON:1/OFF:0,
//================
#define VIGNETTE 1 //3ds
#define vsize 1.2 //3ds
#define VIpos 3.0 //3ds
#define deVi 0 //3ds
//================
#define GAMMA 1 //simple gamma function after reading http://filmicgames.com/archives/299
|
1 |
1 |
2 |
2021-07-12 |
| Error in shader compilation: info: 0(21) : error C7011: implicit cast from "vec4" to "vec4"
00000000:00000002 Tex TFuncMod
#version 310 es
// Adreno (TM) 630 - GLSL 310
#define DISCARD discard
precision lowp float;
precision highp int;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
uniform sampler2D tex;
in lowp vec4 v_color0;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = vec4(t.rgb * p.rgb, p.a);
fragColor0 = v;
}
|
1 |
1 |
2 |
2021-06-23 |
| Error in shader compilation: info: 0(22) : error C7011: implicit cast from "vec3" to "f16vec3"
00000000:00000012 THR Tex
#version 310 es
// Adreno (TM) 630 - GLSL 310
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
in vec4 position;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj_through;
out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
void main() {
v_texcoord = vec3(texcoord, 1.0);
v_color0 = color0;
vec4 outPos = mul(u_proj_through, vec4(position.xyz, 1.0));
gl_Position = outPos;
}
|
1 |
1 |
2 |
2021-06-23 |
| Error in shader compilation: info: (unknown reason)
40000000:00000930 HWX T Tex Flat Cull
#version 320 es
// Mali-G52 - GLSL 320
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
in vec3 position;
in vec2 texcoord;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
flat out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
v_color0 = u_matambientalpha;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
vec3 projPos = outPos.xyz / outPos.w;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = u_cullRangeMax.wwww;
}
}
gl_Position = outPos;
}
|
1 |
1 |
2 |
2021-06-08 |
| Error in shader compilation: info: Vertex shader compilation failed.
ERROR: 0:164: 'outerProduct' : no matching overloaded function found
ERROR: 0:164: '=' : cannot convert from 'const float' to '4X4 matrix of float'
ERROR: 2 compilation errors. No code generated.
00080000:00005b1c HWX C T N Fog Tex Spline TessC TessRevN
#version 300 es
// Adreno (TM) 306 - GLSL 300
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
in vec3 position;
in mediump vec3 normal;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
out mediump float v_fogdepth;
uniform sampler2D u_tess_points;
uniform sampler2D u_tess_weights_u;
uniform sampler2D u_tess_weights_v;
uniform int u_spline_counts;
vec2 tess_sample(in vec2 points[16], mat4 weights) {
vec2 pos = vec2(0.0, 0.0);
pos += weights[0][0] * points[0];
pos += weights[0][1] * points[1];
pos += weights[0][2] * points[2];
pos += weights[0][3] * points[3];
pos += weights[1][0] * points[4];
pos += weights[1][1] * points[5];
pos += weights[1][2] * points[6];
pos += weights[1][3] * points[7];
pos += weights[2][0] * points[8];
pos += weights[2][1] * points[9];
pos += weights[2][2] * points[10];
pos += weights[2][3] * points[11];
pos += weights[3][0] * points[12];
pos += weights[3][1] * points[13];
pos += weights[3][2] * points[14];
pos += weights[3][3] * points[15];
return pos;
}
vec3 tess_sample(in vec3 points[16], mat4 weights) {
vec3 pos = vec3(0.0, 0.0, 0.0);
pos += weights[0][0] * points[0];
pos += weights[0][1] * points[1];
pos += weights[0][2] * points[2];
pos += weights[0][3] * points[3];
pos += weights[1][0] * points[4];
pos += weights[1][1] * points[5];
pos += weights[1][2] * points[6];
pos += weights[1][3] * points[7];
pos += weights[2][0] * points[8];
pos += weights[2][1] * points[9];
pos += weights[2][2] * points[10];
pos += weights[2][3] * points[11];
pos += weights[3][0] * points[12];
pos += weights[3][1] * points[13];
pos += weights[3][2] * points[14];
pos += weights[3][3] * points[15];
return pos;
}
vec4 tess_sample(in vec4 points[16], mat4 weights) {
vec4 pos = vec4(0.0, 0.0, 0.0, 0.0);
pos += weights[0][0] * points[0];
pos += weights[0][1] * points[1];
pos += weights[0][2] * points[2];
pos += weights[0][3] * points[3];
pos += weights[1][0] * points[4];
pos += weights[1][1] * points[5];
pos += weights[1][2] * points[6];
pos += weights[1][3] * points[7];
pos += weights[2][0] * points[8];
pos += weights[2][1] * points[9];
pos += weights[2][2] * points[10];
pos += weights[2][3] * points[11];
pos += weights[3][0] * points[12];
pos += weights[3][1] * points[13];
pos += weights[3][2] * points[14];
pos += weights[3][3] * points[15];
return pos;
}
struct Tess {
vec3 pos;
vec2 tex;
vec4 col;
};
void tessellate(out Tess tess) {
ivec2 point_pos = ivec2(position.z, normal.z);
ivec2 weight_idx = ivec2(position.xy);
vec3 _pos[16];
vec2 _tex[16];
vec4 _col[16];
int index_u, index_v;
index_u = (0 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[0] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
_col[0] = texelFetch(u_tess_points, ivec2(index_u + u_spline_counts * 2, index_v), 0).rgba;
index_u = (1 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[1] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
_col[1] = texelFetch(u_tess_points, ivec2(index_u + u_spline_counts * 2, index_v), 0).rgba;
index_u = (2 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[2] = texelFetch(u_tess_points, ivec2(index_u, index_v), 0).xyz;
_col[2] = texelFetch(u_tess_points, ivec2(index_u + u_spline_counts * 2, index_v), 0).rgba;
index_u = (3 + point_pos.x);
index_v = (0 + point_pos.y);
_pos[3] = texelFetch(u_tess |
2 |
2 |
2 |
2021-05-02 |
| Error in shader compilation: info: 0:1: P0007: Language version '320' unknown, this compiler only supports up to version '320 es'
0:10: L0002: No matching function for call to 'texture'
0:11: L0002: Undeclared variable 'screen'
0:12: L0002: Undeclared variable 'screen'
postshader
#version 320
uniform sampler2D sampler0;
in vec2 v_texcoord0;
out vec4 _gl_FragColor;
void main()
{
vec3 screen = pow(texture(sampler0, v_texcoord0).xyz, vec3(2.21000003814697265625));
screen = pow(mat3(vec3(0.980000019073486328125, 0.039999999105930328369140625, 0.00999999977648258209228515625), vec3(0.20000000298023223876953125, 0.795000016689300537109375, 0.00999999977648258209228515625), vec3(-0.180000007152557373046875, 0.16500000655651092529296875, 0.980000019073486328125)) * screen, vec3(0.4545454680919647216796875));
_gl_FragColor = vec4(screen, 1.0);
}
|
1 |
1 |
2 |
2021-02-11 |
| Error in shader compilation: info: 0:1: P0007: Language version '320' unknown, this compiler only supports up to version '320 es'
postshader
#version 320
out vec2 v_texcoord0;
in vec2 a_texcoord0;
in vec4 a_position;
void main()
{
v_texcoord0 = a_texcoord0;
gl_Position = a_position;
}
|
1 |
1 |
2 |
2021-02-11 |
| Error in shader compilation: info: 0:1: F0003: Shader too long. This shader is 531 instruction words long, but
Mali-400 GP only supports up to 512 instruction words.
03f11999:41000b15 HWX T N LM Fog Tex Bones:5 Light: 0: c:1 t:2 1: c:1 t:2 2: c:1 t:2 3: c:1 t:0 MatUp:1 WScale 1
#version 100
precision highp float;
attribute mediump vec4 w1;
attribute mediump float 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 vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform mediump vec3 u_lightdir0;
uniform mediump vec2 u_lightangle_spotCoef0;
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 vec2 u_lightangle_spotCoef1;
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 vec2 u_lightangle_spotCoef2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform lowp vec3 u_lightspecular2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec3 u_lightspecular3;
uniform lowp vec4 u_ambient;
uniform lowp vec3 u_matdiffuse;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
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 + w2 * u_bone4;
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);
vec4 outPos = u_proj * viewPos;
lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0);
lowp vec3 lightSum1 = vec3(0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
lowp float angle;
toLight = u_lightpos0 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
angle = length(u_lightdir0) == 0.0 ? 0.0 : dot(normalize(u_lightdir0), toLight);
if (angle >= u_lightangle_spotCoef0.x) {
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0) * (u_lightangle_spotCoef0.y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef0.y));
} else {
lightScale = 0.0;
}
diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a <= 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot * lightScale;
}
lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
angle = length(u_lightdir1) == 0.0 ? 0.0 : dot(normalize(u_lightdir1), toLight);
if (angle >= u_lightangle_spotCoef1.x) {
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0) * (u_lightangle_spotCoef1.y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef1.y));
} else {
lightScale = 0.0;
}
diffuse = (u_lightdiffuse1 * u_matdiffuse) |
1 |
1 |
2 |
2021-01-29 |
| Error in shader compilation: info: 0:1: F0003: Shader too long. This shader is 544 instruction words long, but
Mali-400 GP only supports up to 512 instruction words.
03f11999:40c00b15 HWX T N LM Fog Tex Bones:4 Light: 0: c:1 t:2 1: c:1 t:2 2: c:1 t:2 3: c:1 t:0 MatUp:1 WScale 1
#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 mediump vec3 u_lightdir0;
uniform mediump vec2 u_lightangle_spotCoef0;
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 vec2 u_lightangle_spotCoef1;
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 vec2 u_lightangle_spotCoef2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform lowp vec3 u_lightspecular2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec3 u_lightspecular3;
uniform lowp vec4 u_ambient;
uniform lowp vec3 u_matdiffuse;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
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);
vec4 outPos = u_proj * viewPos;
lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0);
lowp vec3 lightSum1 = vec3(0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
lowp float angle;
toLight = u_lightpos0 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
angle = length(u_lightdir0) == 0.0 ? 0.0 : dot(normalize(u_lightdir0), toLight);
if (angle >= u_lightangle_spotCoef0.x) {
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0) * (u_lightangle_spotCoef0.y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef0.y));
} else {
lightScale = 0.0;
}
diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a <= 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot * lightScale;
}
lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
angle = length(u_lightdir1) == 0.0 ? 0.0 : dot(normalize(u_lightdir1), toLight);
if (angle >= u_lightangle_spotCoef1.x) {
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0) * (u_lightangle_spotCoef1.y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef1.y));
} else {
lightScale = 0.0;
}
diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(t |
1 |
1 |
2 |
2021-01-29 |
| Error in shader compilation: info: ERROR: 0:20: 'u_proj' : undeclared identifier
ERROR: 1 compilation errors. No code generated.
01010000:0000011a THR HWX C Tex Light: MatUp:1
#version 300 es
precision highp float;
in vec3 position;
in lowp vec4 color0;
uniform mat4 u_proj_through;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
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;
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 = vec3(0.0, 0.0, 1.0);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
vec4 outPos = u_proj * viewPos;
lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0);
mediump float ldot;
v_color0 = clamp(lightSum0, 0.0, 1.0);
v_texcoord = vec3(u_uvscaleoffset.zw, 0.0);
gl_Position = outPos;
}
|
1 |
1 |
2 |
2020-07-11 |
| Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier
ERROR: 1 compilation errors. No code generated.
00000000:0000011a THR HWX C Tex
#version 300 es
precision highp float;
in vec3 position;
in lowp vec4 color0;
uniform mat4 u_proj_through;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
void main() {
vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz;
mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
vec4 outPos = u_proj * viewPos;
v_color0 = color0;
v_texcoord = vec3(u_uvscaleoffset.zw, 0.0);
gl_Position = outPos;
}
|
1 |
1 |
2 |
2020-07-11 |
| Error in shader compilation: info: (0) : error C3001: no program defined
39 lines, 1 errors.
01030000:00120b19 HWX C T N LM Tex UVEnv Light: 0: c:0 t:0 1: c:0 t:0 MatUp:3
#version 100
precision highp float;
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform vec3 u_lightpos1;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
varying mediump vec3 v_texcoord;
void main() {
vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz;
mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
vec4 outPos = u_proj * viewPos;
lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0);
mediump float ldot;
v_color0 = clamp(lightSum0, 0.0, 1.0);
v_color1 = vec3(0.0);
v_texcoord = vec3(u_uvscaleoffset.xy * vec2(1.0 + (length(u_lightpos0) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos0), worldnormal)), 1.0 + (length(u_lightpos1) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos1), worldnormal))) * 0.5, 1.0);
vec3 projPos = outPos.xyz / outPos.w;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = vec4(u_cullRangeMax.w);
}
}
gl_Position = outPos;
}
|
1 |
1 |
2 |
2020-05-13 |
| Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader
00000000:0000d002 Tex TFuncMod AlphaTest >
#version 300 es
#extension GL_EXT_shader_framebuffer_fetch : require
precision lowp float;
uniform sampler2D tex;
uniform sampler2D testtex;
in vec4 v_color0;
in mediump vec3 v_texcoord;
inout vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = vec4(t.rgb * p.rgb, p.a);
float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) discard;
fragColor0 = v;
}
|
2 |
2 |
2 |
2020-04-11 |
| Error in shader compilation: info: 0:2(12): error: extension `GL_EXT_shader_framebuffer_fetch' unsupported in fragment shader
00000000:0000d000 AlphaTest >
#version 300 es
#extension GL_EXT_shader_framebuffer_fetch : require
precision lowp float;
uniform sampler2D testtex;
in vec4 v_color0;
inout vec4 fragColor0;
void main() {
vec4 v = v_color0 ;
float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) discard;
fragColor0 = v;
}
|
2 |
2 |
2 |
2020-04-11 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00000000:0000f800 LM AlphaTest >=
#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;
float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) discard;
fragColor0 = v;
}
|
2 |
2 |
2 |
2020-03-18 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00010000:0000f822 Tex TexAlpha LM TFuncMod AlphaTest >=
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform sampler2D testtex;
in vec4 v_color0;
in vec3 v_color1;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t + s;
float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) v.a = 0.0;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Vertex shader failed to compile with the following errors:
01f71000:00000911 HWX T LM Tex Light: 0: c:0 t:0 1: c:0 t:0 2: c:0 t:0 3: c:1 t:0 MatUp:7
#version 330
#define lowp
#define mediump
#define highp
in vec3 position;
in vec2 texcoord;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec3 u_lightspecular3;
uniform lowp vec4 u_ambient;
uniform lowp vec3 u_matdiffuse;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out lowp vec3 v_color1;
out mediump vec3 v_texcoord;
void main() {
vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz;
mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
vec4 outPos = 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;
mediump float ldot;
toLight = u_lightpos0;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse);
toLight = u_lightpos1;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse);
toLight = u_lightpos2;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse);
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * u_matdiffuse) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a == 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular3 * u_matspecular.rgb * ldot ;
}
lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
v_color1 = clamp(lightSum1, 0.0, 1.0);
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
vec3 projPos = outPos.xyz / outPos.w;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = vec4(u_cullRangeMax.w);
}
}
gl_Position = outPos;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Vertex shader failed to compile with the following errors:
01f71111:00000b19 HWX C T N LM Tex Light: 0: c:1 t:0 1: c:1 t:0 2: c:1 t:0 3: c:1 t:0 MatUp:7
#version 330
#define lowp
#define mediump
#define highp
in vec3 position;
in mediump vec3 normal;
in vec2 texcoord;
in 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 vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec3 u_lightspecular3;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out lowp vec3 v_color1;
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);
vec4 outPos = 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;
mediump float ldot;
toLight = u_lightpos0;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a == 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular0 * color0.rgb * ldot ;
}
lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse);
toLight = u_lightpos1;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a == 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular1 * color0.rgb * ldot ;
}
lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse);
toLight = u_lightpos2;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a == 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular2 * color0.rgb * ldot ;
}
lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse);
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * color0.rgb) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a == 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular3 * color0.rgb * ldot ;
}
lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
v_color1 = clamp(lightSum1, 0.0, 1.0);
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
vec3 projPos = outPos.xyz / outPos.w;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = vec4(u_cullRangeMax.w);
}
}
gl_Position = outPos |
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00000000:0000f000 AlphaTest >=
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D testtex;
in vec4 v_color0;
out vec4 fragColor0;
void main() {
vec4 v = v_color0 ;
float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) discard;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00010000:0000f000 AlphaTest >=
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D testtex;
in vec4 v_color0;
out vec4 fragColor0;
void main() {
vec4 v = v_color0 ;
float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) v.a = 0.0;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00010000:0080f002 Tex 2x TFuncMod AlphaTest >=
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform sampler2D testtex;
in vec4 v_color0;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = vec4(t.rgb * p.rgb, p.a);
v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0);
float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) v.a = 0.0;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Vertex shader failed to compile with the following errors:
01f71000:00000b09 HWX C T N LM Light: 0: c:0 t:0 1: c:0 t:0 2: c:0 t:0 3: c:1 t:0 MatUp:7
#version 330
#define lowp
#define mediump
#define highp
in vec3 position;
in mediump vec3 normal;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
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 vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec3 u_lightspecular3;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out lowp vec3 v_color1;
void main() {
vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz;
mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
vec4 outPos = u_proj * viewPos;
lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0);
lowp vec3 lightSum1 = vec3(0.0);
vec3 toLight;
lowp vec3 diffuse;
mediump float ldot;
toLight = u_lightpos0;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse);
toLight = u_lightpos1;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse);
toLight = u_lightpos2;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse);
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * color0.rgb) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a == 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular3 * color0.rgb * ldot ;
}
lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
v_color1 = clamp(lightSum1, 0.0, 1.0);
vec3 projPos = outPos.xyz / outPos.w;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = vec4(u_cullRangeMax.w);
}
}
gl_Position = outPos;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Vertex shader failed to compile with the following errors:
01f71000:00000b19 HWX C T N LM Tex Light: 0: c:0 t:0 1: c:0 t:0 2: c:0 t:0 3: c:1 t:0 MatUp:7
#version 330
#define lowp
#define mediump
#define highp
in vec3 position;
in mediump vec3 normal;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp 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 vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out lowp vec3 v_color1;
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);
vec4 outPos = 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;
mediump float ldot;
toLight = u_lightpos0;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse);
toLight = u_lightpos1;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse);
toLight = u_lightpos2;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse);
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * color0.rgb) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a == 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular3 * color0.rgb * ldot ;
}
lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
v_color1 = clamp(lightSum1, 0.0, 1.0);
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
vec3 projPos = outPos.xyz / outPos.w;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = vec4(u_cullRangeMax.w);
}
}
gl_Position = outPos;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00000000:0000f822 Tex TexAlpha LM TFuncMod AlphaTest >=
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform sampler2D testtex;
in vec4 v_color0;
in vec3 v_color1;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t + s;
float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) discard;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00000000:000158a2 Tex TexAlpha LM TClamp TFuncMod AlphaTest0 ==
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform vec4 u_texclamp;
uniform sampler2D testtex;
in vec4 v_color0;
in vec3 v_color1;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec2 fixedcoord = vec2(mod(v_texcoord.x, u_texclamp.x), mod(v_texcoord.y, u_texclamp.y));
vec4 t = texture(tex, fixedcoord.xy);
vec4 p = v_color0;
vec4 v = p * t + s;
if (v.a > 0.002) discard;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00000000:0080d822 Tex TexAlpha LM 2x TFuncMod AlphaTest >
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform sampler2D testtex;
in vec4 v_color0;
in vec3 v_color1;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t + s;
v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0);
float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) discard;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Vertex shader failed to compile with the following errors:
01f41000:00000b19 HWX C T N LM Tex Light: 0: c:0 t:0 1: c:0 t:0 2: c:0 t:0 3: c:1 t:0 MatUp:4
#version 330
#define lowp
#define mediump
#define highp
in vec3 position;
in mediump vec3 normal;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec3 u_lightspecular3;
uniform lowp vec4 u_ambient;
uniform lowp vec3 u_matdiffuse;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out lowp vec3 v_color1;
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);
vec4 outPos = 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;
mediump float ldot;
toLight = u_lightpos0;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse);
toLight = u_lightpos1;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse);
toLight = u_lightpos2;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse);
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * u_matdiffuse) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a == 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular3 * color0.rgb * ldot ;
}
lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
v_color1 = clamp(lightSum1, 0.0, 1.0);
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
vec3 projPos = outPos.xyz / outPos.w;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = vec4(u_cullRangeMax.w);
}
}
gl_Position = outPos;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Vertex shader failed to compile with the following errors:
00000000:00000910 HWX T Tex
#version 330
#define lowp
#define mediump
#define highp
in vec3 position;
in vec2 texcoord;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
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 = vec3(0.0, 0.0, 1.0);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
vec4 outPos = u_proj * viewPos;
v_color0 = u_matambientalpha;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
vec3 projPos = outPos.xyz / outPos.w;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = vec4(u_cullRangeMax.w);
}
}
gl_Position = outPos;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00010000:0080f822 Tex TexAlpha LM 2x TFuncMod AlphaTest >=
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform sampler2D testtex;
in vec4 v_color0;
in vec3 v_color1;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t + s;
v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0);
float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) v.a = 0.0;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00000000:06800002 Tex 2x StenToAlphaDual Sten0 TFuncMod
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
in vec4 v_color0;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
out vec4 fragColor1;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = vec4(t.rgb * p.rgb, p.a);
v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0);
fragColor0 = vec4(v.rgb, 0.0);
fragColor1 = vec4(0.0, 0.0, 0.0, v.a);
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00010000:0080f022 Tex TexAlpha 2x TFuncMod AlphaTest >=
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform sampler2D testtex;
in vec4 v_color0;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t;
v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0);
float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) v.a = 0.0;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Vertex shader failed to compile with the following errors:
01f61000:00000b19 HWX C T N LM Tex Light: 0: c:0 t:0 1: c:0 t:0 2: c:0 t:0 3: c:1 t:0 MatUp:6
#version 330
#define lowp
#define mediump
#define highp
in vec3 position;
in mediump vec3 normal;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp 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 vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out lowp vec3 v_color1;
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);
vec4 outPos = 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;
mediump float ldot;
toLight = u_lightpos0;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse);
toLight = u_lightpos1;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse);
toLight = u_lightpos2;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse);
toLight = u_lightpos3;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse3 * color0.rgb) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a == 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular3 * color0.rgb * ldot ;
}
lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse);
v_color0 = clamp(lightSum0, 0.0, 1.0);
v_color1 = clamp(lightSum1, 0.0, 1.0);
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
vec3 projPos = outPos.xyz / outPos.w;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = vec4(u_cullRangeMax.w);
}
}
gl_Position = outPos;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00000000:00000802 Tex LM TFuncMod
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
in vec4 v_color0;
in vec3 v_color1;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = vec4(t.rgb * p.rgb, p.a) + s;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00000000:00015822 Tex TexAlpha LM TFuncMod AlphaTest0 ==
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform sampler2D testtex;
in vec4 v_color0;
in vec3 v_color1;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t + s;
if (v.a > 0.002) discard;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00000000:00015802 Tex LM TFuncMod AlphaTest0 ==
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform sampler2D testtex;
in vec4 v_color0;
in vec3 v_color1;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = vec4(t.rgb * p.rgb, p.a) + s;
if (v.a > 0.002) discard;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Fragment shader failed to compile with the following errors:
00000000:00015ca2 Tex TexAlpha TexOffs LM TClamp TFuncMod AlphaTest0 ==
#version 330
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform vec4 u_texclamp;
uniform vec2 u_texclampoff;
uniform sampler2D testtex;
in vec4 v_color0;
in vec3 v_color1;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec2 fixedcoord = vec2((mod(v_texcoord.x, u_texclamp.x) + u_texclampoff.x), (mod(v_texcoord.y, u_texclamp.y) + u_texclampoff.y));
vec4 t = texture(tex, fixedcoord.xy);
vec4 p = v_color0;
vec4 v = p * t + s;
if (v.a > 0.002) discard;
fragColor0 = v;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: Vertex shader failed to compile with the following errors:
00000000:00000b18 HWX C T N Tex
#version 330
#define lowp
#define mediump
#define highp
in vec3 position;
in mediump vec3 normal;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
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);
vec4 outPos = u_proj * viewPos;
v_color0 = color0;
v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
vec3 projPos = outPos.xyz / outPos.w;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.xyzw = vec4(u_cullRangeMax.w);
}
}
gl_Position = outPos;
}
|
1 |
1 |
2 |
2020-02-16 |
| Error in shader compilation: info: (0) : error C3001: no program defined
36 lines, 1 errors.
01010000:00020b10 HWX T N Tex UVEnv Light: 0: c:0 t:0 MatUp:1
#version 100
precision highp float;
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform lowp 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 vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
void main() {
vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz;
mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
vec4 outPos = u_proj * viewPos;
lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0);
mediump float ldot;
v_color0 = clamp(lightSum0, 0.0, 1.0);
v_texcoord = vec3(u_uvscaleoffset.xy * vec2(1.0 + (length(u_lightpos0) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos0), worldnormal)), 1.0 + (length(u_lightpos0) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos0), worldnormal))) * 0.5, 1.0);
vec3 projPos = outPos.xyz / outPos.w;
if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
outPos.w = u_cullRangeMax.w;
}
}
gl_Position = outPos;
}
|
1 |
1 |
2 |
2019-08-20 |
| Error in shader compilation: info: 0:1(1): error: syntax error, unexpected $end, expecting IN_TOK or VARYING
postshader
|
1 |
1 |
2 |
2019-08-16 |
| Error in shader compilation: info: 0:20: L0002: Undeclared variable 'u_proj'
0:25: L0002: Undeclared variable 'outPos'
01010000:0000011a THR HWX C Tex Light: MatUp:1
#version 300 es
precision highp float;
in vec3 position;
in lowp vec4 color0;
uniform mat4 u_proj_through;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
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;
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 = vec3(0.0, 0.0, 1.0);
vec4 viewPos = u_view * vec4(worldpos, 1.0);
vec4 outPos = u_proj * viewPos;
lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0);
mediump float ldot;
v_color0 = clamp(lightSum0, 0.0, 1.0);
v_texcoord = vec3(u_uvscaleoffset.zw, 0.0);
gl_Position = outPos;
}
|
1 |
1 |
2 |
2019-07-31 |
| Error in shader compilation: info: ERROR: 0:15: '953' : syntax error: syntax error
00000000:008053a2 Tex TexAlpha 2x TClampST TFuncMod AlphaTest ==
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform vec4 u_texclamp;
uniform sampler2D testtex;
varying vec4 v_color0;
varying mediump vec3 v_texcoord;
void main() {
vec2 fixedcoord = vec2(clamp(v_texcoord.x, u_texclamp.z, u_texclamp.x - u_texclamp.z), clamp(v_texcoord.y, u_texclamp.w, u_texclamp.y - u_texclamp.w));
vec4 t = texture2D(tex, fixedcoord.xy);
vec4 p = v_color0;
vec4 v = p * t;
v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0);
float aResult = texture2D(testtex, vec2(v.a * 0,996094 + 0,001953, 0)).a;
if (aResult < 0.5) discard;
gl_FragColor = v;
}
|
1 |
1 |
2 |
2019-04-04 |
| Error in shader compilation: info: ERROR: 0:20: '953' : syntax error: syntax error
00000000:01a0d822 Tex TexAlpha LM Fog 2x StenToAlpha StenUniform TFuncMod AlphaTest >
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform sampler2D testtex;
uniform float u_stencilReplaceValue;
varying vec4 v_color0;
varying vec3 v_color1;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t + s;
v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
float aResult = texture2D(testtex, vec2(v.a * 0,996094 + 0,001953, 0)).a;
if (aResult < 0.5) discard;
gl_FragColor = vec4(v.rgb, u_stencilReplaceValue);
}
|
1 |
1 |
2 |
2019-04-04 |
| Error in shader compilation: info: ERROR: 0:16: '953' : syntax error: syntax error
00000000:0180d822 Tex TexAlpha LM 2x StenToAlpha StenUniform TFuncMod AlphaTest >
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform sampler2D testtex;
uniform float u_stencilReplaceValue;
varying vec4 v_color0;
varying vec3 v_color1;
varying mediump vec3 v_texcoord;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t + s;
v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0);
float aResult = texture2D(testtex, vec2(v.a * 0,996094 + 0,001953, 0)).a;
if (aResult < 0.5) discard;
gl_FragColor = vec4(v.rgb, u_stencilReplaceValue);
}
|
1 |
1 |
2 |
2019-04-04 |
| Error in shader compilation: info: ERROR: 0:59: '&' does not operate on 'int' and 'int'
ERROR: 0:65: '&' does not operate on 'int' and 'int'
ERROR: 0:71: '&' does not operate on 'int' and 'int'
ERROR: 0:77: '&' does not operate on 'int' and 'int'
ERROR: 0:108: Use of undeclared identifier 'gl_InstanceID'
ERROR: 0:109: Use of undeclared identifier 'gl_InstanceID'
ERROR: 0:110: Use of undeclared identifier 'u'
ERROR: 0:110: Use of undeclared identifier 'v'
ERROR: 0:113: Use of undeclared identifier 'v'
ERROR: 0:113: Use of undeclared identifier 'u'
ERROR: 0:114: Use of undeclared identifier 'index'
ERROR: 0:115: Use of undeclared identifier 'index'
ERROR: 0:116: Use of undeclared identifier 'index'
ERROR: 0:124: Use of undeclared identifier 'patch_pos'
ERROR: 0:125: Use of undeclared identifier 'patch_pos'
ERROR: 0:132: Use of undeclared identifier 'patch_pos'
ERROR: 0:135: Use of undeclared identifier 'patch_pos'
ERROR: 0:138: Use of undeclared identifier 'patch_pos'
ERROR: 0:141: Use of undeclared identifier 'patch_pos'
00080000:00007b18 HWX C T N Tex Spline TessC TessT TessRevN
#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]; |
1 |
1 |
2 |
2019-03-27 |
| Error in shader compilation: info: Fragment shader compilation failed.
ERROR: 0:1: 'gl_Position' : undeclared identifier
ERROR: 0:1: 'position' : undeclared identifier
ERROR: 0:1: 'textureCoordinate' : undeclared identifier
ERROR: 0:1: 'inputTextureCoordinate' : undeclared identifier
ERROR: 0:1: 'xy' : field selection requires structure, vector, or matrix on left hand side
ERROR: 0:1: 'premature EOF' : Syntax error: syntax error
ERROR: 6 compilation errors. No code generated.
postshader
void main() { gl_Position = position; textureCoordinate = inputTextureCoordinate.xy; // Calculate the positions for the blur int multiplier = 0; vec2 blurStep; vec2 singleStepOffset = vec2(texelHeightOffset, texelWidthOffset); for (int i = 0; i < GAUSSIAN_SAMPLES; i++) { multiplier = (i - ((GAUSSIAN_SAMPLES - 1) / 2)); // Blur in x (horizontal) blurStep = float(multiplier) * singleStepOffset; blurCoordinates[i] = inputTextureCoordinate.xy + blurStep; } } |
1 |
1 |
2 |
2019-02-06 |
| Error in shader compilation: info: Fragment shader compilation failed.
ERROR: 0:54: '<' : Syntax error: syntax error
ERROR: 1 compilation errors. No code generated.
postshader
// 4xGLSL HqFilter shader, Modified to use in PPSSPP. Grabbed from:
// http://forums.ngemu.com/showthread.php?t=76098
// by guest(r) ([email protected])
// License: GNU-GPL
// Shader notes: looks better with sprite games
#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif
uniform sampler2D sampler0;
varying vec4 v_texcoord0;
varying vec4 v_texcoord1;
varying vec4 v_texcoord2;
varying vec4 v_texcoord3;
varying vec4 v_texcoord4;
varying vec4 v_texcoord5;
varying vec4 v_texcoord6;
const float mx = 0.325; // start smoothing factor
const float k = -0.250; // smoothing decrease factor
const float max_w = 0.25; // max. smoothing weigth
const float min_w =-0.05; // min smoothing/sharpening weigth
void main()
{
  vec3 c = texture2D(sampler0, v_texcoord0.xy).xyz;
  vec3 i1 = texture2D(sampler0, v_texcoord1.xy).xyz;
  vec3 i2 = texture2D(sampler0, v_texcoord2.xy).xyz;
  vec3 i3 = texture2D(sampler0, v_texcoord3.xy).xyz;
  vec3 i4 = texture2D(sampler0, v_texcoord4.xy).xyz;
  vec3 o1 = texture2D(sampler0, v_texcoord5.xy).xyz;
  vec3 o3 = texture2D(sampler0, v_texcoord6.xy).xyz;
  vec3 o2 = texture2D(sampler0, v_texcoord5.zw).xyz;
  vec3 o4 = texture2D(sampler0, v_texcoord6.zw).xyz;
  vec3 dt = vec3(1.0,1.0,1.0);
  float ko1=dot(abs(o1-c),dt);
  float ko2=dot(abs(o2-c),dt);
  float ko3=dot(abs(o3-c),dt);
  float ko4=dot(abs(o4-c),dt);
  float sd1 = dot(abs(i1-i3),dt);
  float sd2 = dot(abs(i2-i4),dt);
  float w1 = step(ko1,ko3)*sd2;
  float w2 = step(ko2,ko4)*sd1;
  float w3 = step(ko3,ko1)*sd2;
  float w4 = step(ko4,ko2)*sd1;
  c = (w1*o1+w2*o2+w3*o3+w4*o4+0.1*c)/(w1+w2+w3+w4+0.1);
  float lc = c.r+c.g+c.b+0.2;
  w1 = (i1.r+i1.g+i1.b+lc)*0.2;
  w1 = clamp(k*dot(abs(c-i1),dt)/w1+mx,min_w,max_w);
  w2 = (i2.r+i2.g+i2.b+lc)*0.2;
  w2 = clamp(k*dot(abs(c-i2),dt)/w2+mx,min_w,max_w);
  w3 = (i3.r+i3.g+i3.b+lc)*0.2;
  w3 = clamp(k*dot(abs(c-i3),dt)/w3+mx,min_w,max_w);
  w4 = (i4.r+i4.g+i4.b+lc)*0.2;
  w4 = clamp(k*dot(abs(c-i4),dt)/w4+mx,min_w,max_w);
  gl_FragColor.rgb = w1*i1 + w2*i2 + w3*i3 + w4*i4 + (1.0-w1-w2-w3-w4)*c;
  gl_FragColor.a = 1.0;
}
|
1 |
1 |
2 |
2019-02-06 |
| Error in shader compilation: info: ERROR: 0:3: '' : extension 'GL_ARB_gpu_shader5' is not supported
40000000:0000000a THR C Flat
#version 300 es
precision highp float;
in vec4 position;
in lowp vec4 color0;
uniform mat4 u_proj_through;
flat out lowp vec4 v_color0;
void main() {
v_color0 = color0;
vec4 outPos = u_proj_through * vec4(position.xyz, 1.0);
gl_Position = outPos;
}
|
1 |
1 |
2 |
2018-12-22 |
| Error in shader compilation: info: ERROR: 0:3: '' : extension 'GL_ARB_gpu_shader5' is not supported
00004000:00000022 Tex TexAlpha Flat TFuncMod
#version 300 es
precision lowp float;
uniform sampler2D tex;
flat in vec4 v_color0;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
vec4 t = texture(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t;
fragColor0 = v;
}
|
1 |
1 |
2 |
2018-12-22 |
| Error in shader compilation: info: ERROR: 0:3: '' : extension 'GL_ARB_gpu_shader5' is not supported
40000000:0000001a THR C Tex Flat
#version 300 es
precision highp float;
in vec4 position;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj_through;
flat out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
void main() {
v_texcoord = vec3(texcoord, 1.0);
v_color0 = color0;
vec4 outPos = u_proj_through * vec4(position.xyz, 1.0);
gl_Position = outPos;
}
|
1 |
1 |
2 |
2018-12-22 |
| Error in shader compilation: info: Fragment shader compilation failed.
ERROR: 0:9: 'ERROR' : undeclared identifier
ERROR: 1 compilation errors. No code generated.
01130002:0000091c LM ReplaceBlend_2A:0_B:0_Eq:0
#version 300 es
precision lowp float;
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;
v.rgb = v.rgb * ERROR;
fragColor0 = v;
}
|
1 |
1 |
2 |
2018-04-09 |
| Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader.
Please contact [email protected] with the shader causing
the problem, along with this error message.
Mali online shader compiler r7p0-00rel1 [Revision 96995].
01f14444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:1 MatUp:1 Cull
#version 100
// Driver: Mali-450 MP - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 01f14444:00000b28 HWX C T N Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:1 MatUp:1 Cull
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform mediump vec3 u_lightatt2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform 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;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(normal, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = color0;
vec3 diffuseColor = u_matdiffuse.rgb;
vec3 specularColor = u_matspecular.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
float distSq;
float invDist;
lowp float lightScale;
mediump float ldot;
toLight = u_lightpos0 - worldpos;
distSq = dot(toLight, toLight);
invDist = inversesqrt(distSq);
distance = distSq * invDist;
toLight *= invDist;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distSq)), 0.0, 1.0);
diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distSq = dot(toLight, toLight);
invDist = inversesqrt(distSq);
distance = distSq * invDist;
toLight *= invDist;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distSq)), 0.0, 1.0);
diffuse = (u_lightdiffuse1 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos2 - worldpos;
distSq = dot(toLight, toLight);
invDist = inversesqrt(distSq);
distance = distSq * invDist;
toLight *= invDist;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distSq)), 0.0, 1.0);
diffuse = (u_lightdiffuse2 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos3 - worldpos;
distSq = dot(toLight, toLight);
invDist = inversesqrt(distSq);
distance = distSq * invDist;
toLight *= invDist;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distSq)), 0.0, 1.0);
diffuse = (u_lightdiffuse3 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient3 * ambientCol |
1 |
1 |
1 |
2026-11-17 |
| Error in shader compilation: info: 0:28: P0004: High precision not supported, instead compiling high precision as medium precision
0:29: L0002: Undeclared variable 'gl_FragDepth'
40180000:0120d002 Tex StenToAlpha StenUniform TFuncMod AlphaTest > FragDepthClamp
#version 100
// Driver: Mali-470 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:0120d002 Tex StenToAlpha StenUniform TFuncMod AlphaTest > FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
uniform float u_stencilReplaceValue;
varying lowp vec4 v_color0;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) DISCARD;
gl_FragColor = vec4(v.rgb, u_stencilReplaceValue);
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-16 |
| Error in shader compilation: info: 0:24: P0004: High precision not supported, instead compiling high precision as medium precision
0:25: L0002: Undeclared variable 'gl_FragDepth'
50180000:0040000e Tex TexProj LM TFuncRepl FragDepthClamp
#version 100
// Driver: Mali-470 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 50180000:0040000e Tex TexProj LM TFuncRepl FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture2DProj(tex, v_texcoord);
vec4 p = v_color0;
vec4 r = t;
r.a = mix(r.a, p.a, u_texNoAlphaMul.x);
vec4 v = r + s;
v.rgb *= u_texNoAlphaMul.y;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-16 |
| Error in shader compilation: info: 0:22: P0004: High precision not supported, instead compiling high precision as medium precision
0:23: L0002: Undeclared variable 'gl_FragDepth'
50180000:0020d000 LM AlphaTest > FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 50180000:0020d000 LM AlphaTest > FragDepthClamp
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying vec2 v_zw;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 v = v_color0 + s;
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-15 |
| Error in shader compilation: info: 0:19: P0004: High precision not supported, instead compiling high precision as medium precision
0:20: L0002: Undeclared variable 'gl_FragDepth'
50180000:00200000 LM FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 50180000:00200000 LM FragDepthClamp
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying vec2 v_zw;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 v = v_color0 + s;
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-15 |
| Error in shader compilation: info: 0:29: P0004: High precision not supported, instead compiling high precision as medium precision
0:30: L0002: Undeclared variable 'gl_FragDepth'
50180000:0020d002 Tex LM TFuncMod AlphaTest > FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 50180000:0020d002 Tex LM TFuncMod AlphaTest > FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t + s;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-15 |
| Error in shader compilation: info: 0:27: P0004: High precision not supported, instead compiling high precision as medium precision
0:28: L0002: Undeclared variable 'gl_FragDepth'
40190000:0020d002 Tex TFuncMod AlphaTest > TestDiscardToZero FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40190000:0020d002 Tex TFuncMod AlphaTest > TestDiscardToZero FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) v.a = 0.0;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-15 |
| Error in shader compilation: info: 0:26: P0004: High precision not supported, instead compiling high precision as medium precision
0:27: L0002: Undeclared variable 'gl_FragDepth'
50182a82:00000002 Tex LM ReplaceBlend_2A:10_B:10_Eq:0 TFuncMod FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 50182a82:00000002 Tex LM ReplaceBlend_2A:10_B:10_Eq:0 TFuncMod FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform vec3 u_blendFixA;
uniform vec3 u_blendFixB;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t + s;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
v.rgb = v.rgb * u_blendFixA;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-15 |
| Error in shader compilation: info: 0:26: P0004: High precision not supported, instead compiling high precision as medium precision
0:27: L0002: Undeclared variable 'gl_FragDepth'
50180000:00200002 Tex LM TFuncMod FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 50180000:00200002 Tex LM TFuncMod FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t + s;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-15 |
| Error in shader compilation: info: 0:24: P0004: High precision not supported, instead compiling high precision as medium precision
0:25: L0002: Undeclared variable 'gl_FragDepth'
40180000:0000d002 Tex TFuncMod AlphaTest > FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:0000d002 Tex TFuncMod AlphaTest > FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-15 |
| Error in shader compilation: info: 0:23: P0004: High precision not supported, instead compiling high precision as medium precision
0:24: L0002: Undeclared variable 'gl_FragDepth'
50180000:00000002 Tex LM TFuncMod FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 50180000:00000002 Tex LM TFuncMod FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t + s;
v.rgb *= u_texNoAlphaMul.y;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-15 |
| Error in shader compilation: info: 0:29: P0004: High precision not supported, instead compiling high precision as medium precision
0:30: L0002: Undeclared variable 'gl_FragDepth'
50190000:00209002 Tex LM TFuncMod AlphaTest < TestDiscardToZero FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 50190000:00209002 Tex LM TFuncMod AlphaTest < TestDiscardToZero FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t + s;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) v.a = 0.0;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-15 |
| Error in shader compilation: info: 0:29: P0004: High precision not supported, instead compiling high precision as medium precision
0:30: L0002: Undeclared variable 'gl_FragDepth'
50180000:0020f002 Tex LM TFuncMod AlphaTest >= FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 50180000:0020f002 Tex LM TFuncMod AlphaTest >= FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t + s;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-15 |
| Error in shader compilation: info: 0:27: P0004: High precision not supported, instead compiling high precision as medium precision
0:28: L0002: Undeclared variable 'gl_FragDepth'
40180000:0020d002 Tex TFuncMod AlphaTest > FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:0020d002 Tex TFuncMod AlphaTest > FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-15 |
| Error in shader compilation: info: 0:18: P0004: High precision not supported, instead compiling high precision as medium precision
0:19: L0002: Undeclared variable 'gl_FragDepth'
40180000:00000402 Tex TexAlpha TFuncMod FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:00000402 Tex TexAlpha TFuncMod FragDepthClamp
uniform sampler2D tex;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65536.0) / 65536.0;
}
|
1 |
1 |
1 |
2026-11-14 |
| Error in shader compilation: info: 0:21: P0004: High precision not supported, instead compiling high precision as medium precision
0:22: L0002: Undeclared variable 'gl_FragDepth'
40180000:0000f402 Tex TexAlpha TFuncMod AlphaTest >= FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:0000f402 Tex TexAlpha TFuncMod AlphaTest >= FragDepthClamp
uniform sampler2D tex;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t;
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65536.0) / 65536.0;
}
|
1 |
1 |
1 |
2026-11-14 |
| Error in shader compilation: info: 0:20: P0004: High precision not supported, instead compiling high precision as medium precision
0:21: L0002: Undeclared variable 'gl_FragDepth'
40180000:0001d402 Tex TexAlpha TFuncMod AlphaTest0 > FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:0001d402 Tex TexAlpha TFuncMod AlphaTest0 > FragDepthClamp
uniform sampler2D tex;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t;
if (v.a < 0.002) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65536.0) / 65536.0;
}
|
1 |
1 |
1 |
2026-11-14 |
| Error in shader compilation: info: 0:24: P0004: High precision not supported, instead compiling high precision as medium precision
0:25: L0002: Undeclared variable 'gl_FragDepth'
40180000:0020f402 Tex Fog TexAlpha TFuncMod AlphaTest >= FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:0020f402 Tex Fog TexAlpha TFuncMod AlphaTest >= FragDepthClamp
uniform sampler2D tex;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t;
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65536.0) / 65536.0;
}
|
1 |
1 |
1 |
2026-11-14 |
| Error in shader compilation: info: 0:21: P0004: High precision not supported, instead compiling high precision as medium precision
0:22: L0002: Undeclared variable 'gl_FragDepth'
40180000:00200402 Tex Fog TexAlpha TFuncMod FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:00200402 Tex Fog TexAlpha TFuncMod FragDepthClamp
uniform sampler2D tex;
varying lowp vec4 v_color0;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
vec4 v = p * t;
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65536.0) / 65536.0;
}
|
1 |
1 |
1 |
2026-11-14 |
| Error in shader compilation: info: 0:23: P0004: High precision not supported, instead compiling high precision as medium precision
0:24: L0002: Undeclared variable 'gl_FragDepth'
40180000:0001d002 Tex TFuncMod AlphaTest0 > FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:0001d002 Tex TFuncMod AlphaTest0 > FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
if (v.a < 0.002) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-14 |
| Error in shader compilation: info: 0:24: P0004: High precision not supported, instead compiling high precision as medium precision
0:25: L0002: Undeclared variable 'gl_FragDepth'
40180000:00200002 Tex TFuncMod FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:00200002 Tex TFuncMod FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
varying lowp vec4 v_color0;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-14 |
| Error in shader compilation: info: 0:21: P0004: High precision not supported, instead compiling high precision as medium precision
0:22: L0002: Undeclared variable 'gl_FragDepth'
40180000:00000002 Tex TFuncMod FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:00000002 Tex TFuncMod FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-14 |
| Error in shader compilation: info: 0:26: P0004: High precision not supported, instead compiling high precision as medium precision
0:27: L0002: Undeclared variable 'gl_FragDepth'
40180000:0021d002 Tex TFuncMod AlphaTest0 > FragDepthClamp
#version 100
// Driver: Mali-400 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:0021d002 Tex TFuncMod AlphaTest0 > FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
if (v.a < 0.002) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-14 |
| Error in shader compilation: info: 0:27: P0004: High precision not supported, instead compiling high precision as medium precision
0:28: L0002: Undeclared variable 'gl_FragDepth'
40190000:0020d002 Tex TFuncMod AlphaTest > TestDiscardToZero FragDepthClamp
#version 100
// Driver: Mali-450 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40190000:0020d002 Tex TFuncMod AlphaTest > TestDiscardToZero FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) v.a = 0.0;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-13 |
| Error in shader compilation: info: 0:24: P0004: High precision not supported, instead compiling high precision as medium precision
0:25: L0002: Undeclared variable 'gl_FragDepth'
40190000:0000d002 Tex TFuncMod AlphaTest > TestDiscardToZero FragDepthClamp
#version 100
// Driver: Mali-450 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40190000:0000d002 Tex TFuncMod AlphaTest > TestDiscardToZero FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) v.a = 0.0;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-13 |
| Error in shader compilation: info: 0:26: P0004: High precision not supported, instead compiling high precision as medium precision
0:27: L0002: Undeclared variable 'gl_FragDepth'
50180000:00200002 Tex LM TFuncMod FragDepthClamp
#version 100
// Driver: Mali-450 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 50180000:00200002 Tex LM TFuncMod FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t + s;
v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-13 |
| Error in shader compilation: info: 0:17: P0004: High precision not supported, instead compiling high precision as medium precision
0:18: L0002: Undeclared variable 'gl_FragDepth'
40184000:00200000 Flat FragDepthClamp
#version 100
// Driver: Mali-450 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40184000:00200000 Flat FragDepthClamp
varying lowp vec4 v_color0;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
varying vec2 v_zw;
void main() {
vec4 v = v_color0;
float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-12 |
| Error in shader compilation: info: 0:24: P0004: High precision not supported, instead compiling high precision as medium precision
0:25: L0002: Undeclared variable 'gl_FragDepth'
40180000:0000d002 Tex TFuncMod AlphaTest > FragDepthClamp
#version 100
// Driver: Mali-450 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:0000d002 Tex TFuncMod AlphaTest > FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-12 |
| Error in shader compilation: info: 0:22: P0004: High precision not supported, instead compiling high precision as medium precision
0:23: L0002: Undeclared variable 'gl_FragDepth'
40180000:01000002 Tex StenToAlpha StenUniform TFuncMod FragDepthClamp
#version 100
// Driver: Mali-450 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:01000002 Tex StenToAlpha StenUniform TFuncMod FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform float u_stencilReplaceValue;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
gl_FragColor = vec4(v.rgb, u_stencilReplaceValue);
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-12 |
| Error in shader compilation: info: 0:25: P0004: High precision not supported, instead compiling high precision as medium precision
0:26: L0002: Undeclared variable 'gl_FragDepth'
40180000:0100d002 Tex StenToAlpha StenUniform TFuncMod AlphaTest > FragDepthClamp
#version 100
// Driver: Mali-450 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:0100d002 Tex StenToAlpha StenUniform TFuncMod AlphaTest > FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
uniform float u_stencilReplaceValue;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) DISCARD;
gl_FragColor = vec4(v.rgb, u_stencilReplaceValue);
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-12 |
| Error in shader compilation: info: 0:23: L0002: Undeclared variable 'gl_Position'
10184000:0001d000 Flat FragUber AlphaTest0 >
#version 320 es
// Driver: Mali-T820 - GLSL 320
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40000000:0000000a THR C Flat
in vec4 position;
in highp float fog;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj_through;
uniform lowp float u_rotation;
uniform highp vec2 u_fogcoef;
flat out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
out mediump float v_fogdepth;
void main() {
v_texcoord = vec3(texcoord, 1.0);
v_color0 = color0;
v_fogdepth = fog;
vec4 outPos = mul(u_proj_through, vec4(position.xyz, 1.0));
gl_Position = outPos;
}
|
1 |
1 |
1 |
2026-11-11 |
| Error in shader compilation: info: 0:24: P0004: High precision not supported, instead compiling high precision as medium precision
0:25: L0002: Undeclared variable 'gl_FragDepth'
40194000:0000d002 Tex Flat TFuncMod AlphaTest > TestDiscardToZero FragDepthClamp
#version 100
// Driver: Mali-450 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40194000:0000d002 Tex Flat TFuncMod AlphaTest > TestDiscardToZero FragDepthClamp
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying mediump vec3 v_texcoord;
varying vec2 v_zw;
void main() {
vec4 t = texture2D(tex, v_texcoord.xy);
vec4 p = v_color0;
t.a = max(t.a, u_texNoAlphaMul.x);
vec4 v = p * t;
v.rgb *= u_texNoAlphaMul.y;
float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
if (aResult < 0.5) v.a = 0.0;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-10 |
| Error in shader compilation: info: 0:16: P0004: High precision not supported, instead compiling high precision as medium precision
0:17: L0002: Undeclared variable 'gl_FragDepth'
40180000:0001d000 AlphaTest0 > FragDepthClamp
#version 100
// Driver: Mali-450 MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40180000:0001d000 AlphaTest0 > FragDepthClamp
uniform sampler2D testtex;
varying lowp vec4 v_color0;
varying mediump float v_fogdepth;
varying vec2 v_zw;
void main() {
vec4 v = v_color0;
if (v.a < 0.002) DISCARD;
gl_FragColor = v;
highp float projZ = v_zw.x / v_zw.y;
gl_FragDepth = clamp(projZ, 0.0, 65535.0) / 65535.0;
}
|
1 |
1 |
1 |
2026-11-09 |
| 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].
01f74440:00000b28 HWX C T N Light: 0: c:0 t:0 1: c:0 t:1 2: c:0 t:1 3: c:0 t:1 MatUp:7 Cull
#version 100
// Driver: Mali-400 MP - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 01f74440:00000b28 HWX C T N Light: 0: c:0 t:0 1: c:0 t:1 2: c:0 t:1 3: c:0 t:1 MatUp:7 Cull
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform 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 vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying mediump float v_fogdepth;
vec3 normalizeOr001(vec3 v) {
return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalizeOr001(mul(vec4(normal, 0.0), u_world).xyz);
vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
vec4 outPos = mul(u_proj, viewPos);
vec4 ambientColor = color0;
vec3 diffuseColor = color0.rgb;
vec3 specularColor = color0.rgb;
lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
float distSq;
float invDist;
lowp float lightScale;
mediump float ldot;
toLight = u_lightpos0;
ldot = dot(toLight, worldnormal);
diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse);
toLight = u_lightpos1 - worldpos;
distSq = dot(toLight, toLight);
invDist = inversesqrt(distSq);
distance = distSq * invDist;
toLight *= invDist;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distSq)), 0.0, 1.0);
diffuse = (u_lightdiffuse1 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient1 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos2 - worldpos;
distSq = dot(toLight, toLight);
invDist = inversesqrt(distSq);
distance = distSq * invDist;
toLight *= invDist;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distSq)), 0.0, 1.0);
diffuse = (u_lightdiffuse2 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient2 * ambientColor.rgb + diffuse) * lightScale;
toLight = u_lightpos3 - worldpos;
distSq = dot(toLight, toLight);
invDist = inversesqrt(distSq);
distance = distSq * invDist;
toLight *= invDist;
ldot = dot(toLight, worldnormal);
lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distSq)), 0.0, 1.0);
diffuse = (u_lightdiffuse3 * diffuseColor) * max(ldot, 0.0);
lightSum0.rgb += (u_lightambient3 * ambientColor.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;
vec3 projPos = outPos.xyz / outPos.w;
float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
if (u_cullRang |
1 |
1 |
1 |
2026-11-08 |
| Error in shader compilation: info: WARNING: 0:28: 'floatBitsToUint' : function not available in current GLSL version - trying implict argument conversion
ERROR: 0:28: 'floatBitsToUint' : no matching overloaded function found (using implicit conversion)
ERROR: 0:28: '&' : wrong operand types no operation '&' exists that takes a left-hand operand of type 'const float' and a right operand of type 'const uint' (or there is no acceptable conversion)
ERROR: 0:28: 'uintBitsToFloat' : no matching overloaded function found (using implicit conversion)
00000000:00000081 THR SWX Flat
#version 140
// Driver: Intel(R) HD Graphics 3000 - GLSL 140
#define gl_VertexIndex gl_VertexID
#define lowp
#define mediump
#define highp
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// %00000000:00000081 THR SWX Flat
in vec4 position;
in highp float fog;
in vec2 texcoord;
in lowp vec4 color0;
uniform vec4 u_xywh;
uniform float u_NaN;
uniform highp vec2 u_minZmaxZ;
uniform highp vec2 u_fogcoef;
out lowp vec4 v_color0;
out highp vec3 v_texcoord;
out mediump float v_fogdepth;
void main() {
bool zClipped = false;
v_texcoord = vec3(texcoord, 1.0);
v_color0 = color0;
v_fogdepth = fog;
vec4 outPos = position;
outPos.z = floor(outPos.z * 8.0 + 0.5) * 0.125;
outPos.w = uintBitsToFloat((floatBitsToUint(outPos.w) + 128u) & 4294967040u);
outPos.xy = (((outPos.xy + u_xywh.xy) * u_xywh.zw) - vec2(1.0, 1.0)) * outPos.w;
outPos.z *= outPos.w * (1.0 / 65536.0);
gl_Position = outPos;
gl_Position.z = gl_Position.z * 2.0 - gl_Position.w;
}
|
1 |
1 |
1 |
2026-11-06 |
| Error in shader compilation: info: WARNING: 0:28: 'floatBitsToUint' : function not available in current GLSL version - trying implict argument conversion
ERROR: 0:28: 'floatBitsToUint' : no matching overloaded function found (using implicit conversion)
ERROR: 0:28: '&' : wrong operand types no operation '&' exists that takes a left-hand operand of type 'const float' and a right operand of type 'const uint' (or there is no acceptable conversion)
ERROR: 0:28: 'uintBitsToFloat' : no matching overloaded function found (using implicit conversion)
00000000:00000001 THR SWX
#version 140
// Driver: Intel(R) HD Graphics 3000 - GLSL 140
#define gl_VertexIndex gl_VertexID
#define lowp
#define mediump
#define highp
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// %00000000:00000001 THR SWX
in vec4 position;
in highp float fog;
in vec2 texcoord;
in lowp vec4 color0;
uniform vec4 u_xywh;
uniform float u_NaN;
uniform highp vec2 u_minZmaxZ;
uniform highp vec2 u_fogcoef;
out lowp vec4 v_color0;
out highp vec3 v_texcoord;
out mediump float v_fogdepth;
void main() {
bool zClipped = false;
v_texcoord = vec3(texcoord, 1.0);
v_color0 = color0;
v_fogdepth = fog;
vec4 outPos = position;
outPos.z = floor(outPos.z * 8.0 + 0.5) * 0.125;
outPos.w = uintBitsToFloat((floatBitsToUint(outPos.w) + 128u) & 4294967040u);
outPos.xy = (((outPos.xy + u_xywh.xy) * u_xywh.zw) - vec2(1.0, 1.0)) * outPos.w;
outPos.z *= outPos.w * (1.0 / 65536.0);
gl_Position = outPos;
gl_Position.z = gl_Position.z * 2.0 - gl_Position.w;
}
|
1 |
1 |
1 |
2026-11-06 |