Kind #970: Error in shader compilation: info: %s
%s
%s
Game: DISSIDIA duodecim FINAL FANTASY (NPHH00293_1.00)
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];Status: new. 2 hits from 2019-03-26 17:05:40 to 2019-03-27 10:09:17 UTC. Message #1328032.
Individual reports are stored since 2026-11-12, the newest 100 per message; none for this message yet. Older hits only exist as the counters above. Hover a cell for details.