Bad P 0
Bad P 0
#define ATTRIBUTE_LOCATION(x)
#define FRAGMENT_OUTPUT_LOCATION(x)
#define FRAGMENT_OUTPUT_LOCATION_INDEXED(x, y)
#define UBO_BINDING(packing, x) layout(packing, binding = x)
#define SAMPLER_BINDING(x) layout(binding = x)
#define TEXEL_BUFFER_BINDING(x) layout(binding = x)
#define SSBO_BINDING(x) layout(binding = x)
#define IMAGE_BINDING(format, x) layout(format, binding = x)
#define VARYING_LOCATION(x)
#version 320 es
#define ATTRIBUTE_LOCATION(x)
#define FRAGMENT_OUTPUT_LOCATION(x)
#define FRAGMENT_OUTPUT_LOCATION_INDEXED(x, y)
#define UBO_BINDING(packing, x) layout(packing, binding = x)
#define SAMPLER_BINDING(x) layout(binding = x)
#define TEXEL_BUFFER_BINDING(x) layout(binding = x)
#define SSBO_BINDING(x) layout(binding = x)
#define IMAGE_BINDING(format, x) layout(format, binding = x)
#define VARYING_LOCATION(x)
#extension GL_ANDROID_extension_pack_es31a : enable
FORCE_EARLY_Z;
FRAGMENT_OUTPUT_LOCATION(0) out vec4 ocol0;
VARYING_LOCATION(0) in VertexData {
float4 pos;
float4 colors_0;
float4 colors_1;
float3 tex0;
float clipDist0;
float clipDist1;
};
void main()
{
float4 rawpos = gl_FragCoord;
int4 c0 = color[1], c1 = color[2], c2 = color[3], prev = color[0];
int4 rastemp, textemp, konsttemp;
int3 comp16 = int3(1, 256, 0), comp24 = int3(1, 256, 256*256);
int alphabump=0;
int3 tevcoord=int3(0);
int2 wrappedcoord, tempcoord;
int4 tevin_a,tevin_b,tevin_c,tevin_d,tevin_temp;
// TEV stage 0
rastemp = iround(col0 * 255.0).rgba;
tevcoord.xy = fixpoint_uv0;
textemp = iround(255.0 * texture(samp[0], float3(float2(tevcoord.xy).xy *
texdim[0].xy, 0.0))).rgba;
konsttemp = int4(k[0].rgb, k[0].a);
tevin_a = int4(int3(0), 0) & 255;
tevin_b = int4(textemp.rgb, textemp.a) & 255;
tevin_c = int4(rastemp.rgb, konsttemp.a) & 255;
tevin_d = int4(int3(0), 0);
tevin_temp = (tevin_a<<8) + (tevin_b-tevin_a) * (tevin_c + (tevin_c>>7));
// color combine
prev.rgb = (((tevin_d.rgb ) << 1) + ((((tevin_temp.rgb) << 1) + 128) >>
8)) ;
// alpha combine
prev.a = (((tevin_d.a ) ) + ((((tevin_temp.a) ) + 128) >> 8)) ;
prev = clamp(prev, int4(0), int4(255));
prev = prev & 255;
int zCoord = int(rawpos.z * 16777216.0);
zCoord = clamp(zCoord, 0, 0xFFFFFF);
float ze = (cfogf.x * 16777216.0) / float(cfogi.y - (zCoord >> cfogi.w));
float fog = clamp(ze - cfogf.y, 0.0, 1.0);
int ifog = iround(fog * 256.0);
prev.rgb = (prev.rgb * (256 - ifog) + cfogcolor.rgb * ifog) >> 8;
ocol0 = float4(prev) / 255.0;
}
L0008 The fragment interface block variable VertexData does not match the fragment
variable VertexData.
The table members count does not match.
#