Recent logs - Prince of Persia - Revelations

To see your stuff show here, enable Compatibility Server Reports in PPSSPP.

Click on a version, game, or report message to show similar entries. Hover over version to see platform info, and hover over a game title to see region and version info.

Game title Version Latest Report Message
Prince of Persia - Revelations v1.9.4 2020-02-20
Prince of Persia - Revelations v1.9.4 2020-02-09 80630006=sceAtracSetDataAndGetID(08f83980, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2020-02-09 80630006=sceAtracSetDataAndGetID(08f83a80, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2020-02-04 80630006=sceAtracSetDataAndGetID(098d04c0, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2020-02-04 80630006=sceAtracSetDataAndGetID(0972f140, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2020-02-04 80630006=sceAtracSetDataAndGetID(099107c0, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2020-02-04 80630006=sceAtracSetDataAndGetID(09580c00, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2020-02-04 80630006=sceAtracSetDataAndGetID(09580c40, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2020-02-04 80630006=sceAtracSetDataAndGetID(09827f80, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2020-02-09 80630006=sceAtracSetDataAndGetID(0911e700, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2020-01-26 80630006=sceAtracSetDataAndGetID(096cb4c0, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2020-01-09 Error in shader program link: info: (unknown reason) fs: 00000000:00000002 Tex TFuncMod (failed) #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; 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); fragColor0 = v; } vs: 00000000:00000012 THR Tex #version 300 es precision highp float; 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 = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2020-01-09 Error in shader compilation: info: (unknown reason) 00000000:00000382 Tex TClampST TFuncMod #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform vec4 u_texclamp; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; 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 = texture(tex, fixedcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2020-01-09 Error in shader program link: info: (unknown reason) fs: 00000000:00000382 Tex TClampST TFuncMod (failed) #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform vec4 u_texclamp; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; 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 = texture(tex, fixedcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; } vs: 00000000:00000012 THR Tex #version 300 es precision highp float; 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 = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Prince of Persia - Revelations v1.9.4 2020-01-07 Unknown GetPointer 00000010 PC 08b50910 LR 08acd4f4
Prince of Persia - Revelations v1.9.4 2020-01-07 Unknown GE command : 03e00008
Prince of Persia - Revelations v1.9.4 2020-01-07 CALL to illegal address 067b6dcc - ignoring! data=7b6dcc
Prince of Persia - Revelations v1.9.4 2020-01-07 ReadFromHardware: Invalid address 00000000 near PC 00000000 LR 08c74a60
Prince of Persia - Revelations v1.9.3 2020-01-02 80630006=sceAtracSetDataAndGetID(098c2080, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2019-12-25 Unknown GetPointer 00ffffff PC 088175c0 LR 088183dc
Prince of Persia - Revelations v1.9.4 2019-12-24 80630006=sceAtracSetDataAndGetID(097d2b40, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2019-12-24 80630006=sceAtracSetDataAndGetID(09a23d80, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2019-12-24 80630006=sceAtracSetDataAndGetID(096c14c0, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2019-12-24 80630006=sceAtracSetDataAndGetID(09cfc840, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2019-12-24 80630006=sceAtracSetDataAndGetID(09cea040, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2019-12-24 80630006=sceAtracSetDataAndGetID(09896500, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2019-12-24 80630006=sceAtracSetDataAndGetID(09897e00, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2019-12-24 80630006=sceAtracSetDataAndGetID(0979edc0, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2019-12-24 80630006=sceAtracSetDataAndGetID(08fd4a00, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-10 Error in shader program link: info: (unknown reason) fs: 00000000:00800022 Tex TexAlpha 2x TFuncMod #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in mediump vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0); fragColor0 = v; } vs: 00000000:00000012 THR Tex #version 300 es precision highp float; 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 = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-04 Error in shader program link: info: (unknown reason) fs: 00000000:00800022 Tex TexAlpha 2x TFuncMod #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; 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); fragColor0 = v; } vs: 00000000:00000012 THR Tex #version 300 es precision highp float; 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 = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-02 Failed to allocate memory for ELF!
Prince of Persia - Revelations v1.9.4 2019-11-27 Unknown GetPointer 00000000 PC 08c04ad0 LR 08c04ad0
Prince of Persia - Revelations v1.9.4 2019-11-24 sceKernelLoadModule: unsupported options size=00000014, flags=00000000, pos=1, access=1, data=2, text=2
Prince of Persia - Revelations v1.9.3 2019-11-20 80630006=sceAtracSetDataAndGetID(0997ea00, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-19 Error in shader program link: info: (unknown reason) fs: 00000000:00800002 Tex 2x TFuncMod (failed) #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; 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); fragColor0 = v; } vs: 00000000:0000001a THR C Tex (failed) #version 300 es precision highp float; 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 = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-02 Error in shader program link: info: (unknown reason) fs: 00000000:00800022 Tex TexAlpha 2x TFuncMod (failed) #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; 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); fragColor0 = v; } vs: 00000000:0000001a THR C Tex (failed) #version 300 es precision highp float; 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 = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-17 Error in shader program link: info: (unknown reason) fs: 00000000:00000040 Depal (failed) #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; precision highp int; uniform sampler2D pal; uniform int u_depal; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0 ; fragColor0 = v; } vs: 00000000:00000002 THR (failed) #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; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-02 Error in shader program link: info: (unknown reason) fs: 00000000:00000000 (failed) #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0 ; fragColor0 = v; } vs: 00000000:00000002 THR (failed) #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; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-02 Error in shader compilation: info: (unknown reason) 00000000:0000001a THR C Tex #version 300 es precision highp float; 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 = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-02 Error in shader compilation: info: (unknown reason) 00000000:00000000 #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0 ; fragColor0 = v; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader program link: info: (unknown reason) fs: 000019c6:00000000 ReplaceBlend_6A:7_B:6_Eq:0 (failed) #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0 ; lowp vec4 destColor = gl_LastFragColorARM; v.rgb = v.rgb * vec3(1.0 - v.a * 2.0) + destColor.rgb * vec3(v.a * 2.0); fragColor0 = v; } vs: 00000000:00000002 THR (failed) #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; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2020-01-09 Error in shader compilation: info: (unknown reason) 000019c6:00000000 ReplaceBlend_6A:7_B:6_Eq:0 #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0 ; lowp vec4 destColor = gl_LastFragColorARM; v.rgb = v.rgb * vec3(1.0 - v.a * 2.0) + destColor.rgb * vec3(v.a * 2.0); fragColor0 = v; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader program link: info: (unknown reason) fs: 00000000:00000002 Tex TFuncMod (failed) #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; 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); fragColor0 = v; } vs: 00000000:00000012 THR Tex (failed) #version 300 es precision highp float; 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 = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader program link: info: (unknown reason) fs: 00000000:00000022 Tex TexAlpha TFuncMod (failed) #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; 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; } vs: 00000000:00000012 THR Tex (failed) #version 300 es precision highp float; 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 = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader compilation: info: (unknown reason) 00000000:00000022 Tex TexAlpha TFuncMod #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; 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; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2020-01-09 Error in shader compilation: info: (unknown reason) 00000000:00000002 Tex TFuncMod #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; 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); fragColor0 = v; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-14 Error in shader compilation: info: (unknown reason) 00000000:000003e2 Tex TexAlpha Depal TClampST TFuncMod #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; precision highp int; uniform sampler2D tex; uniform vec4 u_texclamp; uniform sampler2D pal; uniform int u_depal; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; 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)); vec2 uv = fixedcoord.xy; vec2 uv_round; vec2 tsize = vec2(textureSize(tex, 0)); vec2 fraction; bool bilinear = (u_depal >> 31) != 0; if (bilinear) { uv_round = uv * tsize - vec2(0.5, 0.5); fraction = fract(uv_round); uv_round = (uv_round - fraction + vec2(0.5, 0.5)) / tsize; } else { uv_round = uv; } vec4 t = texture(tex, uv_round); vec4 t1 = textureOffset(tex, uv_round, ivec2(1, 0)); vec4 t2 = textureOffset(tex, uv_round, ivec2(0, 1)); vec4 t3 = textureOffset(tex, uv_round, ivec2(1, 1)); int depalMask = (u_depal & 0xFF); int depalShift = ((u_depal >> 8) & 0xFF); int depalOffset = (((u_depal >> 16) & 0xFF) << 4); int depalFmt = ((u_depal >> 24) & 0x3); ivec4 col; int index0; int index1; int index2; int index3; switch (depalFmt) { case 0: col = ivec4(t.rgb * vec3(31.99, 63.99, 31.99), 0); index0 = (col.b << 11) | (col.g << 5) | (col.r); if (bilinear) { col = ivec4(t1.rgb * vec3(31.99, 63.99, 31.99), 0); index1 = (col.b << 11) | (col.g << 5) | (col.r); col = ivec4(t2.rgb * vec3(31.99, 63.99, 31.99), 0); index2 = (col.b << 11) | (col.g << 5) | (col.r); col = ivec4(t3.rgb * vec3(31.99, 63.99, 31.99), 0); index3 = (col.b << 11) | (col.g << 5) | (col.r); } break; case 1: col = ivec4(t.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index0 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index1 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); col = ivec4(t2.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index2 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); col = ivec4(t3.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index3 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); } break; case 2: col = ivec4(t.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index0 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index1 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); col = ivec4(t2.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index2 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); col = ivec4(t3.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index3 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); } break; case 3: col = ivec4(t.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index0 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index1 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); col = ivec4(t2.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index2 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); col = ivec4(t3.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index3 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); } break; }; index0 = ((index0 >> depalShift) & depalMask) | depalOffset; t = texelFetch(pal, ivec2(index0, 0), 0); if (bilinear && !(index0 == index1 && index1 == index2 && index2 == index3)) { index1 = ((index1 >> depalShift) & depalMask) | depalOffset; index2 = ((index2 >> depalShift) & depalMask) | depalOffset; index3 = ((index3 >> depalShift) & depalMask) | depalOffset; t1 = texelFetch(pal, ivec2(index1, 0), 0); t2 = texelFetch(pal, ivec2(index2, 0), 0); t3 = texelFetch(pal, ivec2(index3, 0),
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-14 Error in shader compilation: info: (unknown reason) 00000000:00000040 Depal #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; precision highp int; uniform sampler2D pal; uniform int u_depal; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0 ; fragColor0 = v; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-17 Error in shader compilation: info: (unknown reason) 00000000:000000e2 Tex TexAlpha Depal TClamp TFuncMod #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; precision highp int; uniform sampler2D tex; uniform vec4 u_texclamp; uniform sampler2D pal; uniform int u_depal; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec2 fixedcoord = vec2(mod(v_texcoord.x, u_texclamp.x), mod(v_texcoord.y, u_texclamp.y)); vec2 uv = fixedcoord.xy; vec2 uv_round; vec2 tsize = vec2(textureSize(tex, 0)); vec2 fraction; bool bilinear = (u_depal >> 31) != 0; if (bilinear) { uv_round = uv * tsize - vec2(0.5, 0.5); fraction = fract(uv_round); uv_round = (uv_round - fraction + vec2(0.5, 0.5)) / tsize; } else { uv_round = uv; } vec4 t = texture(tex, uv_round); vec4 t1 = textureOffset(tex, uv_round, ivec2(1, 0)); vec4 t2 = textureOffset(tex, uv_round, ivec2(0, 1)); vec4 t3 = textureOffset(tex, uv_round, ivec2(1, 1)); int depalMask = (u_depal & 0xFF); int depalShift = ((u_depal >> 8) & 0xFF); int depalOffset = (((u_depal >> 16) & 0xFF) << 4); int depalFmt = ((u_depal >> 24) & 0x3); ivec4 col; int index0; int index1; int index2; int index3; switch (depalFmt) { case 0: col = ivec4(t.rgb * vec3(31.99, 63.99, 31.99), 0); index0 = (col.b << 11) | (col.g << 5) | (col.r); if (bilinear) { col = ivec4(t1.rgb * vec3(31.99, 63.99, 31.99), 0); index1 = (col.b << 11) | (col.g << 5) | (col.r); col = ivec4(t2.rgb * vec3(31.99, 63.99, 31.99), 0); index2 = (col.b << 11) | (col.g << 5) | (col.r); col = ivec4(t3.rgb * vec3(31.99, 63.99, 31.99), 0); index3 = (col.b << 11) | (col.g << 5) | (col.r); } break; case 1: col = ivec4(t.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index0 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index1 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); col = ivec4(t2.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index2 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); col = ivec4(t3.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index3 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); } break; case 2: col = ivec4(t.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index0 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index1 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); col = ivec4(t2.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index2 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); col = ivec4(t3.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index3 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); } break; case 3: col = ivec4(t.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index0 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index1 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); col = ivec4(t2.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index2 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); col = ivec4(t3.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index3 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); } break; }; index0 = ((index0 >> depalShift) & depalMask) | depalOffset; t = texelFetch(pal, ivec2(index0, 0), 0); if (bilinear && !(index0 == index1 && index1 == index2 && index2 == index3)) { index1 = ((index1 >> depalShift) & depalMask) | depalOffset; index2 = ((index2 >> depalShift) & depalMask) | depalOffset; index3 = ((index3 >> depalShift) & depalMask) | depalOffset; t1 = texelFetch(pal, ivec2(index1, 0), 0); t2 = texelFetch(pal, ivec2(index2, 0), 0); t3 = texelFetch(pal, ivec2(index3, 0), 0); t = mix(t, t1, fraction.x); t2 = mix(t2, t3, fracti
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-18 Error in shader compilation: info: (unknown reason) 00000000:000000c2 Tex Depal TClamp TFuncMod #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; precision highp int; uniform sampler2D tex; uniform vec4 u_texclamp; uniform sampler2D pal; uniform int u_depal; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec2 fixedcoord = vec2(mod(v_texcoord.x, u_texclamp.x), mod(v_texcoord.y, u_texclamp.y)); vec2 uv = fixedcoord.xy; vec2 uv_round; vec2 tsize = vec2(textureSize(tex, 0)); vec2 fraction; bool bilinear = (u_depal >> 31) != 0; if (bilinear) { uv_round = uv * tsize - vec2(0.5, 0.5); fraction = fract(uv_round); uv_round = (uv_round - fraction + vec2(0.5, 0.5)) / tsize; } else { uv_round = uv; } vec4 t = texture(tex, uv_round); vec4 t1 = textureOffset(tex, uv_round, ivec2(1, 0)); vec4 t2 = textureOffset(tex, uv_round, ivec2(0, 1)); vec4 t3 = textureOffset(tex, uv_round, ivec2(1, 1)); int depalMask = (u_depal & 0xFF); int depalShift = ((u_depal >> 8) & 0xFF); int depalOffset = (((u_depal >> 16) & 0xFF) << 4); int depalFmt = ((u_depal >> 24) & 0x3); ivec4 col; int index0; int index1; int index2; int index3; switch (depalFmt) { case 0: col = ivec4(t.rgb * vec3(31.99, 63.99, 31.99), 0); index0 = (col.b << 11) | (col.g << 5) | (col.r); if (bilinear) { col = ivec4(t1.rgb * vec3(31.99, 63.99, 31.99), 0); index1 = (col.b << 11) | (col.g << 5) | (col.r); col = ivec4(t2.rgb * vec3(31.99, 63.99, 31.99), 0); index2 = (col.b << 11) | (col.g << 5) | (col.r); col = ivec4(t3.rgb * vec3(31.99, 63.99, 31.99), 0); index3 = (col.b << 11) | (col.g << 5) | (col.r); } break; case 1: col = ivec4(t.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index0 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index1 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); col = ivec4(t2.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index2 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); col = ivec4(t3.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index3 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); } break; case 2: col = ivec4(t.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index0 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index1 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); col = ivec4(t2.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index2 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); col = ivec4(t3.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index3 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); } break; case 3: col = ivec4(t.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index0 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index1 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); col = ivec4(t2.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index2 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); col = ivec4(t3.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index3 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); } break; }; index0 = ((index0 >> depalShift) & depalMask) | depalOffset; t = texelFetch(pal, ivec2(index0, 0), 0); if (bilinear && !(index0 == index1 && index1 == index2 && index2 == index3)) { index1 = ((index1 >> depalShift) & depalMask) | depalOffset; index2 = ((index2 >> depalShift) & depalMask) | depalOffset; index3 = ((index3 >> depalShift) & depalMask) | depalOffset; t1 = texelFetch(pal, ivec2(index1, 0), 0); t2 = texelFetch(pal, ivec2(index2, 0), 0); t3 = texelFetch(pal, ivec2(index3, 0), 0); t = mix(t, t1, fraction.x); t2 = mix(t2, t3, fraction.x);
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 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; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader compilation: info: (unknown reason) draw2d #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec4 a_position; attribute vec2 a_texcoord0; varying vec2 v_texcoord0; void main() { v_texcoord0 = a_texcoord0; gl_Position = a_position; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader compilation: info: (unknown reason) 00000000:00800022 Tex TexAlpha 2x TFuncMod #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; 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); fragColor0 = v; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-14 Error in shader compilation: info: (unknown reason) 00000000:000003c2 Tex Depal TClampST TFuncMod #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; precision highp int; uniform sampler2D tex; uniform vec4 u_texclamp; uniform sampler2D pal; uniform int u_depal; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; 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)); vec2 uv = fixedcoord.xy; vec2 uv_round; vec2 tsize = vec2(textureSize(tex, 0)); vec2 fraction; bool bilinear = (u_depal >> 31) != 0; if (bilinear) { uv_round = uv * tsize - vec2(0.5, 0.5); fraction = fract(uv_round); uv_round = (uv_round - fraction + vec2(0.5, 0.5)) / tsize; } else { uv_round = uv; } vec4 t = texture(tex, uv_round); vec4 t1 = textureOffset(tex, uv_round, ivec2(1, 0)); vec4 t2 = textureOffset(tex, uv_round, ivec2(0, 1)); vec4 t3 = textureOffset(tex, uv_round, ivec2(1, 1)); int depalMask = (u_depal & 0xFF); int depalShift = ((u_depal >> 8) & 0xFF); int depalOffset = (((u_depal >> 16) & 0xFF) << 4); int depalFmt = ((u_depal >> 24) & 0x3); ivec4 col; int index0; int index1; int index2; int index3; switch (depalFmt) { case 0: col = ivec4(t.rgb * vec3(31.99, 63.99, 31.99), 0); index0 = (col.b << 11) | (col.g << 5) | (col.r); if (bilinear) { col = ivec4(t1.rgb * vec3(31.99, 63.99, 31.99), 0); index1 = (col.b << 11) | (col.g << 5) | (col.r); col = ivec4(t2.rgb * vec3(31.99, 63.99, 31.99), 0); index2 = (col.b << 11) | (col.g << 5) | (col.r); col = ivec4(t3.rgb * vec3(31.99, 63.99, 31.99), 0); index3 = (col.b << 11) | (col.g << 5) | (col.r); } break; case 1: col = ivec4(t.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index0 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index1 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); col = ivec4(t2.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index2 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); col = ivec4(t3.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index3 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); } break; case 2: col = ivec4(t.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index0 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index1 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); col = ivec4(t2.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index2 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); col = ivec4(t3.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index3 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); } break; case 3: col = ivec4(t.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index0 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index1 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); col = ivec4(t2.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index2 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); col = ivec4(t3.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index3 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); } break; }; index0 = ((index0 >> depalShift) & depalMask) | depalOffset; t = texelFetch(pal, ivec2(index0, 0), 0); if (bilinear && !(index0 == index1 && index1 == index2 && index2 == index3)) { index1 = ((index1 >> depalShift) & depalMask) | depalOffset; index2 = ((index2 >> depalShift) & depalMask) | depalOffset; index3 = ((index3 >> depalShift) & depalMask) | depalOffset; t1 = texelFetch(pal, ivec2(index1, 0), 0); t2 = texelFetch(pal, ivec2(index2, 0), 0); t3 = texelFetch(pal, ivec2(index3, 0), 0);
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader program link: info: (unknown reason) fs: draw2d (failed) #ifdef GL_ES precision mediump float; #endif #if __VERSION__ >= 130 #define varying in #define texture2D texture #define gl_FragColor fragColor0 out vec4 fragColor0; #endif #ifdef GL_ES precision mediump float; #endif uniform sampler2D sampler0; varying vec2 v_texcoord0; void main() { gl_FragColor = texture2D(sampler0, v_texcoord0); } vs: draw2d (failed) #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec4 a_position; attribute vec2 a_texcoord0; varying vec2 v_texcoord0; void main() { v_texcoord0 = a_texcoord0; gl_Position = a_position; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader compilation: info: (unknown reason) 00000000:00000012 THR Tex #version 300 es precision highp float; 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 = u_proj_through * vec4(position.xyz, 1.0); gl_Position = outPos; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader compilation: info: (unknown reason) 00000000:0081d022 Tex TexAlpha 2x TFuncMod AlphaTest0 > #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; 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); if (v.a < 0.002) discard; fragColor0 = v; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-14 Error in shader compilation: info: (unknown reason) 000019c6:00000040 Depal ReplaceBlend_6A:7_B:6_Eq:0 #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; precision highp int; uniform sampler2D pal; uniform int u_depal; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0 ; lowp vec4 destColor = gl_LastFragColorARM; v.rgb = v.rgb * vec3(1.0 - v.a * 2.0) + destColor.rgb * vec3(v.a * 2.0); fragColor0 = v; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader compilation: info: (unknown reason) 00010000:0080d022 Tex TexAlpha 2x TFuncMod AlphaTest > #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; 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; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader program link: info: (unknown reason) fs: 00000000:00000001 Clear (failed) #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0; fragColor0 = v; } vs: 00000000:0000000a THR C (failed) #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; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader compilation: info: (unknown reason) draw2d #ifdef GL_ES precision mediump float; #endif #if __VERSION__ >= 130 #define varying in #define texture2D texture #define gl_FragColor fragColor0 out vec4 fragColor0; #endif #ifdef GL_ES precision mediump float; #endif uniform sampler2D sampler0; varying vec2 v_texcoord0; void main() { gl_FragColor = texture2D(sampler0, v_texcoord0); }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader compilation: info: (unknown reason) 00000000:00000001 Clear #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0; fragColor0 = v; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader compilation: info: (unknown reason) 00000000:00800002 Tex 2x TFuncMod #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; 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); fragColor0 = v; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-12-06 Error in shader compilation: info: (unknown reason) 00000000:0080d022 Tex TexAlpha 2x TFuncMod AlphaTest > #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; 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) discard; fragColor0 = v; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-17 Error in shader program link: info: (unknown reason) fs: 00000000:000003e2 Tex TexAlpha Depal TClampST TFuncMod (failed) #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; precision highp int; uniform sampler2D tex; uniform vec4 u_texclamp; uniform sampler2D pal; uniform int u_depal; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; 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)); vec2 uv = fixedcoord.xy; vec2 uv_round; vec2 tsize = vec2(textureSize(tex, 0)); vec2 fraction; bool bilinear = (u_depal >> 31) != 0; if (bilinear) { uv_round = uv * tsize - vec2(0.5, 0.5); fraction = fract(uv_round); uv_round = (uv_round - fraction + vec2(0.5, 0.5)) / tsize; } else { uv_round = uv; } vec4 t = texture(tex, uv_round); vec4 t1 = textureOffset(tex, uv_round, ivec2(1, 0)); vec4 t2 = textureOffset(tex, uv_round, ivec2(0, 1)); vec4 t3 = textureOffset(tex, uv_round, ivec2(1, 1)); int depalMask = (u_depal & 0xFF); int depalShift = ((u_depal >> 8) & 0xFF); int depalOffset = (((u_depal >> 16) & 0xFF) << 4); int depalFmt = ((u_depal >> 24) & 0x3); ivec4 col; int index0; int index1; int index2; int index3; switch (depalFmt) { case 0: col = ivec4(t.rgb * vec3(31.99, 63.99, 31.99), 0); index0 = (col.b << 11) | (col.g << 5) | (col.r); if (bilinear) { col = ivec4(t1.rgb * vec3(31.99, 63.99, 31.99), 0); index1 = (col.b << 11) | (col.g << 5) | (col.r); col = ivec4(t2.rgb * vec3(31.99, 63.99, 31.99), 0); index2 = (col.b << 11) | (col.g << 5) | (col.r); col = ivec4(t3.rgb * vec3(31.99, 63.99, 31.99), 0); index3 = (col.b << 11) | (col.g << 5) | (col.r); } break; case 1: col = ivec4(t.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index0 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index1 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); col = ivec4(t2.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index2 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); col = ivec4(t3.rgba * vec4(31.99, 31.99, 31.99, 1.0)); index3 = (col.a << 15) | (col.b << 10) | (col.g << 5) | (col.r); } break; case 2: col = ivec4(t.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index0 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index1 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); col = ivec4(t2.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index2 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); col = ivec4(t3.rgba * vec4(15.99, 15.99, 15.99, 15.99)); index3 = (col.a << 12) | (col.b << 8) | (col.g << 4) | (col.r); } break; case 3: col = ivec4(t.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index0 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); if (bilinear) { col = ivec4(t1.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index1 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); col = ivec4(t2.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index2 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); col = ivec4(t3.rgba * vec4(255.99, 255.99, 255.99, 255.99)); index3 = (col.a << 24) | (col.b << 16) | (col.g << 8) | (col.r); } break; }; index0 = ((index0 >> depalShift) & depalMask) | depalOffset; t = texelFetch(pal, ivec2(index0, 0), 0); if (bilinear && !(index0 == index1 && index1 == index2 && index2 == index3)) { index1 = ((index1 >> depalShift) & depalMask) | depalOffset; index2 = ((index2 >> depalShift) & depalMask) | depalOffset; index3 = ((index3 >> depalShift) & depalMask) | depalOffset; t1 = texelFetch(pal, ivec2(index1, 0), 0); t2 = texelFetch(pal, ivec2(index2, 0), 0); t3 = texelFetch(pal, ive
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2020-01-09 Error in shader compilation: info: (unknown reason) 00000000:00000002 THR #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; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-18 Error in shader compilation: info: (unknown reason) depal #version 300 es #ifdef GL_ES precision highp float; #endif in vec4 a_position; in vec2 a_texcoord0; out vec2 v_texcoord0; void main() { v_texcoord0 = a_texcoord0; gl_Position = a_position; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-18 Error in shader program link: info: (unknown reason) fs: depal (failed) #version 300 es precision mediump float; precision highp int; in vec2 v_texcoord0; out vec4 fragColor0; uniform sampler2D tex; uniform sampler2D pal; void main() { vec4 color = texture(tex, v_texcoord0); int r = 0; int g = int(color.g * 255.99); int b = 0; int a = 0; int index = (a << 24) | (b << 16) | (g << 8) | (r); index = (int(uint(index) >> uint(8)) & 0xff); fragColor0 = texture(pal, vec2((float(index) + 0.5) * (1.0 / 256.000000), 0.0)); } vs: depal (failed) #version 300 es #ifdef GL_ES precision highp float; #endif in vec4 a_position; in vec2 a_texcoord0; out vec2 v_texcoord0; void main() { v_texcoord0 = a_texcoord0; gl_Position = a_position; }
Prince of Persia - Revelations v1.6.3-492-g9fddfff66 2019-11-18 Error in shader compilation: info: (unknown reason) depal #version 300 es precision mediump float; precision highp int; in vec2 v_texcoord0; out vec4 fragColor0; uniform sampler2D tex; uniform sampler2D pal; void main() { vec4 color = texture(tex, v_texcoord0); int r = 0; int g = int(color.g * 255.99); int b = 0; int a = 0; int index = (a << 24) | (b << 16) | (g << 8) | (r); index = (int(uint(index) >> uint(8)) & 0xff); fragColor0 = texture(pal, vec2((float(index) + 0.5) * (1.0 / 256.000000), 0.0)); }
Prince of Persia - Revelations v1.9.4 2019-11-12 Jump to invalid address: 003a0740
Prince of Persia - Revelations v1.9.4 2019-11-12 ReadFromHardware: Invalid address 00014000 near PC 000139c0 LR 08ba4d18
Prince of Persia - Revelations v1.8.0-281-ge5f159813 2019-11-11 ReadFromHardware: Invalid address 00000033 near PC 08a1ecb8 LR 08a1ecd0
Prince of Persia - Revelations v1.8.0-281-ge5f159813 2019-11-11 ReadFromHardware: Invalid address 00000034 near PC 08898598 LR 08a1a6c8
Prince of Persia - Revelations v1.9.4 2019-11-11 80630006=sceAtracSetDataAndGetID(098a2780, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2019-11-02 80630006=sceAtracSetDataAndGetID(099f9280, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.9.4 2019-10-30 CALL to illegal address 0000a920 - ignoring! data=00a920
Prince of Persia - Revelations v1.9.4 2019-10-25 ReadFromHardware: Invalid address 0500183e near PC 08836f20 LR 0888b73c
Prince of Persia - Revelations v1.8.0 2019-10-02 80630006=sceAtracSetDataAndGetID(08fd9e40, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-10-02 80630006=sceAtracSetDataAndGetID(09512300, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-10-02 80630006=sceAtracSetDataAndGetID(0950c340, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-10-02 80630006=sceAtracSetDataAndGetID(0962b680, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-10-02 80630006=sceAtracSetDataAndGetID(09826240, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-10-02 80630006=sceAtracSetDataAndGetID(0908f2c0, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-10-02 80630006=sceAtracSetDataAndGetID(09ab4080, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-10-02 80630006=sceAtracSetDataAndGetID(09605a40, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-10-01 80630006=sceAtracSetDataAndGetID(09909680, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-10-01 80630006=sceAtracSetDataAndGetID(08fadf00, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-29 80630006=sceAtracSetDataAndGetID(097621c0, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-29 80630006=sceAtracSetDataAndGetID(0972fc40, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-29 80630006=sceAtracSetDataAndGetID(098ca080, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-27 80630006=sceAtracSetDataAndGetID(09b1ce40, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-27 80630006=sceAtracSetDataAndGetID(099ce600, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-27 80630006=sceAtracSetDataAndGetID(0968ccc0, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-27 80630006=sceAtracSetDataAndGetID(099ce440, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-27 80630006=sceAtracSetDataAndGetID(09546ec0, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-27 80630006=sceAtracSetDataAndGetID(09746180, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-27 80630006=sceAtracSetDataAndGetID(095865c0, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-23 80630006=sceAtracSetDataAndGetID(097bc680, 00000800): invalid RIFF header
Prince of Persia - Revelations v1.8.0 2019-09-23 80630006=sceAtracSetDataAndGetID(096d92c0, 00000800): invalid RIFF header