Recent logs - GTA: Liberty City Stories

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
GTA: Liberty City Stories v1.16.2 2023-09-22 sceKernelCreateThread(name=SceParseHTTPheader_Library): unsupported attributes 00000006
GTA: Liberty City Stories v1.16.2 2023-09-22 sceKernelCreateThread(name=SceParseURI_Library): unsupported attributes 00000006
GTA: Liberty City Stories v1.16.2 2023-09-22 sceKernelLoadModule: unsupported options size=00000014, flags=4e49422e, pos=0, access=1, data=2, text=2
GTA: Liberty City Stories v1.16.2 2023-09-22 sceKernelCreateThread(name=SceBase64_Library): unsupported attributes 00000006
GTA: Liberty City Stories v1.14.4 2023-09-19 __KernelStopThread: thread 305 does not exist (helper deleted)
GTA: Liberty City Stories v1.16.1 2023-09-18 WriteToHardware: Invalid address e8e1dd50 near PC 0886b078 LR 0886b034
GTA: Liberty City Stories v1.15.4 2023-09-18 sceKernelLoadModuleByID: unsupported options size=00000014, flags=000001b8, pos=0, access=1, data=2, text=2
GTA: Liberty City Stories v1.12.3 2023-09-16 FBO created from existing depthbuffer as color, 04088000/04110000 and 04044000/04088000
GTA: Liberty City Stories v1.12.3 2023-09-16 FBO created from existing depthbuffer as color, 04088000/04110000 and 04000000/04088000
GTA: Liberty City Stories v1.12.3 2023-09-16 sceKernelCreateSema(RealMutex) unsupported options parameter, size = 1431655765
GTA: Liberty City Stories v1.10.1 2023-09-15 ReadFromHardware: Invalid address 1ca47346 near PC 08956ea0 LR 08956d00
GTA: Liberty City Stories v1.10.1 2023-09-15 ReadFromHardware: Invalid address 1ca47344 near PC 08956e38 LR 08956d00
GTA: Liberty City Stories v1.10.1 2023-09-15 WriteToHardware: Invalid address 0df49dad near PC 0886b064 LR 0895181c
GTA: Liberty City Stories v1.10.1 2023-09-15 ReadFromHardware: Invalid address 0df49dad near PC 0886b064 LR 0895181c
GTA: Liberty City Stories v1.10.1 2023-09-15 Bottom-right corner of source of block transfer is at an invalid address: 0480fe1c
GTA: Liberty City Stories v1.10.1 2023-09-15 Bottom-right corner of source of block transfer is at an invalid address: 0480fe1e
GTA: Liberty City Stories v1.14.4 2023-09-13 __KernelStopThread: thread 358 does not exist (helper deleted)
GTA: Liberty City Stories v1.11.3 2023-09-11 ReadFromHardware: Invalid address 00000004 near PC 08956678 LR 089565b4
GTA: Liberty City Stories v1.11.3 2023-09-11 ReadFromHardware: Invalid address 00000000 near PC 089565d0 LR 089565b4
GTA: Liberty City Stories v1.10.3 2023-09-08 Bad video stream 1
GTA: Liberty City Stories v1.14.1 2023-09-06 UI scissor out of bounds in GamePauseScreen: 176,36-98,1991 / 544,1050
GTA: Liberty City Stories v1.14.1 2023-09-06 UI scissor out of bounds in GamePauseScreen: 0,36-172,1991 / 544,1050
GTA: Liberty City Stories v1.14.1 2023-09-06 UI scissor out of bounds in GamePauseScreen: 1452,9-547,272 / 1050,544
GTA: Liberty City Stories v1.14.1 2023-09-06 UI scissor out of bounds in GamePauseScreen: 0,9-1435,272 / 1050,544
GTA: Liberty City Stories v1.15.4 2023-09-03 MIPSCompileOp: Invalid instruction 427a6164
GTA: Liberty City Stories v1.15.4 2023-09-03 MIPSCompileOp: Invalid instruction 43a0e833
GTA: Liberty City Stories v1.15.4 2023-09-03 Jump to invalid address: 0676cb00 PC 08b31480 LR 08b1defc
GTA: Liberty City Stories v1.15.4 2023-08-29 scePsmfPlayerSetPsmf*: incorrect PSMF magic (00000000), bad data
GTA: Liberty City Stories v1.15.4 2023-08-27 Rendering to framebuffer offset at 04170000 +256x0 (stride 512)
GTA: Liberty City Stories v1.15.4 2023-08-27 00000000=sceGeEdramSetAddrTranslation(00000000)
GTA: Liberty City Stories v1.15.4 2023-08-25 Jump to invalid address: 0243b4c0
GTA: Liberty City Stories v1.15.4 2023-08-25 Jump to invalid address: 0246c840
GTA: Liberty City Stories v1.15.4 2023-08-25 Jump to invalid address: 0244c740
GTA: Liberty City Stories v1.15.4 2023-08-25 Jump to invalid address: 0240a090
GTA: Liberty City Stories v1.15.4 2023-08-25 Branch in Jump delay slot at 0890a294 in block starting at 0890a098
GTA: Liberty City Stories v1.14.2 2023-08-19 UI scissor out of bounds in GameSettingsScreen: 317,0-1190,720 / 1430,720
GTA: Liberty City Stories v1.14.2 2023-08-18 UI scissor out of bounds in GameSettingsScreen: 127,0-478,272 / 574,272
GTA: Liberty City Stories v1.14.4 2023-08-17 Unknown GE command : d178a5c2
GTA: Liberty City Stories v1.12.3 2023-08-12 sceKernelLoadModule: unsupported options size=00000014, flags=00000005, pos=0, access=1, data=1, text=1
GTA: Liberty City Stories v1.11.3-111-g047f84d5e 2023-08-13 Unaligned icache invalidation of 08a96bd0 (08a96bd0 + 0) at PC=08e85c14
GTA: Liberty City Stories v1.15.4 2023-08-10 800200d2=scePsmfPlayerSetPsmf(09b0bf3c, disc0:/PSP_GAME/USRDIR/fmv/cartnet.pmf): too many streams in PSMF video, bogus data
GTA: Liberty City Stories v1.12.2 2023-08-09 Trying to compile instruction 000404b0 that can't be interpreted
GTA: Liberty City Stories v1.12.2 2023-08-09 Trying to compile instruction 00000033 that can't be interpreted
GTA: Liberty City Stories v1.12.2 2023-08-09 Trying to compile instruction 00000030 that can't be interpreted
GTA: Liberty City Stories v1.15.4 2023-08-07 ReadFromHardware: Invalid address 41abba5e near PC 41abba5e LR 41abba5e
GTA: Liberty City Stories v1.15.4 2023-08-06 80630007=sceAtracSetData(2, 08d4b180, 00006ed8): atracID uses different codec type than data
GTA: Liberty City Stories v1.15.4 2023-08-06 80630007=sceAtracSetData(2, 08d4b180, 00004c00): atracID uses different codec type than data
GTA: Liberty City Stories v1.15.4 2023-08-06 80630007=sceAtracSetData(2, 08d4b180, 00004500): atracID uses different codec type than data
GTA: Liberty City Stories v1.15.4 2023-08-05 WriteToHardware: Invalid address 00000268 near PC 08a2f398 LR 08a2f398
GTA: Liberty City Stories v1.9.4 2023-08-05 sceKernelLoadModuleByID: unsupported options size=00000014, flags=00000201, pos=0, access=1, data=2, text=2
GTA: Liberty City Stories v1.15.4 2023-08-02 Failed decrypting the PRX (ret = -1, size = 5075133, psp_size = 5075472)!
GTA: Liberty City Stories v1.15.4 2023-08-02 sceKernelLoadModuleByID: unsupported options size=00000014, flags=08a1d400, pos=0, access=1, data=1, text=1
GTA: Liberty City Stories v1.15.4 2023-08-02 sceKernelLoadModuleByID: unsupported options size=00000014, flags=0000001c, pos=0, access=1, data=2, text=2
GTA: Liberty City Stories v1.15.4-717-g56c2974e5 2023-08-01 sceUtilitySavedataInitStart: invalid size 65535
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00190000:0020f802 Tex Fog LM TFuncMod AlphaTest >= TestDiscardToZero #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00190000:0020f802 Tex Fog LM TFuncMod AlphaTest >= TestDiscardToZero uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t + s; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) < int(u_alphacolorref >> 0x18u)) v.a = 0.0; fragColor0 = v; } vs: 01000000:80000929 HWX C T LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000929 HWX C T LM Light: LightUberShader Cull 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 uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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(0.0, 0.0, 1.0, 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 = ((u_lightControl & (1u << 0x14u)) != 0x0u) ? color0 : u_matambientalpha; vec3 diffuseC
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00182a82:00000002 Tex ReplaceBlend_2A:10_B:10_Eq:0 TFuncMod #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00182a82:00000002 Tex ReplaceBlend_2A:10_B:10_Eq:0 TFuncMod uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; uniform vec3 u_blendFixA; uniform vec3 u_blendFixB; in lowp vec4 v_color0; 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; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); v.rgb = v.rgb * u_blendFixA; fragColor0 = v; } vs: 00000000:00120b20 HWX T N UVEnv 0: c:0 t:0 1: c:0 t:0 Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00120b20 HWX T N UVEnv 0: c:0 t:0 1: c:0 t:0 Cull in vec3 position; in mediump vec3 normal; in vec2 texcoord; 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_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_depthRange; 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; 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 = u_matambientalpha; v_color0 = u_matambientalpha; 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); 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_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:00200002 Tex Fog TFuncMod #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:00200002 Tex Fog TFuncMod uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; 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; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 00000000:00000b20 HWX T N Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00000b20 HWX T N Cull in vec3 position; in mediump vec3 normal; 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 vec2 u_fogcoef; uniform highp vec4 u_depthRange; 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; 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 = u_matambientalpha; v_color0 = u_matambientalpha; 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_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:0000d000 AlphaTest > #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:0000d000 AlphaTest > uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in mediump float v_fogdepth; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 v = v_color0; if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) DISCARD; fragColor0 = v; } vs: 00000000:00000320 HWX N Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00000320 HWX N Cull in vec3 position; in mediump vec3 normal; 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_depthRange; 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; 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 = u_matambientalpha; v_color0 = u_matambientalpha; v_texcoord = splat3(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_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:00200802 Tex Fog LM TFuncMod #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:00200802 Tex Fog LM TFuncMod uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; 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; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t + s; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 01000000:80000321 HWX N LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000321 HWX N LM Light: LightUberShader Cull in vec3 position; in mediump vec3 normal; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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 = u_matambientalpha; vec3 diffuseColor = u_matdiffuse.rgb; vec3 specularColor = u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; lowp float angle; uint comp; uint type; float attenuation; if ((u_lightControl & 0x1u) != 0x0u) {
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:00200800 Fog LM #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:00200800 Fog LM in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; out vec4 fragColor0; 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); fragColor0 = v; } vs: 01000000:80000b21 HWX T N LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000b21 HWX T N LM Light: LightUberShader Cull in vec3 position; in mediump vec3 normal; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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 = u_matambientalpha; vec3 diffuseColor = u_matdiffuse.rgb; vec3 specularColor = u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; lowp float angle; uint comp; uint type; float attenuation; if ((u_lightControl & 0x1u) != 0x0u) { comp = (u_lightControl >> 0x04u) & 0x3u; type = (u_lightControl >> 0x06u) & 0x3u; toLight = u_lightpos0; if (type != 0x0u) { toLight -= worldpos; distance = length(toLight); toLight /= distance; attenuatio
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00190000:0020d002 Tex Fog TFuncMod AlphaTest > TestDiscardToZero #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00190000:0020d002 Tex Fog TFuncMod AlphaTest > TestDiscardToZero uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) v.a = 0.0; fragColor0 = v; } vs: 00000000:00000920 HWX T Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00000920 HWX T Cull 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 vec2 u_fogcoef; uniform highp vec4 u_depthRange; 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; 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(0.0, 0.0, 1.0, 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 = u_matambientalpha; v_color0 = u_matambientalpha; 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_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00190000:0000d000 AlphaTest > TestDiscardToZero #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00190000:0000d000 AlphaTest > TestDiscardToZero uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in mediump float v_fogdepth; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 v = v_color0; if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) v.a = 0.0; fragColor0 = v; } vs: 00000000:00000028 C Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00000028 C Cull in vec4 position; in highp float fog; in vec2 texcoord; in lowp vec4 color0; uniform lowp float u_rotation; uniform highp vec2 u_fogcoef; uniform highp vec4 u_depthRange; 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; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; v_fogdepth = fog; vec4 pos = position; vec4 outPos = pos; vec3 projPos = outPos.xyz / outPos.w; float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w; if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:00200800 Fog LM #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:00200800 Fog LM in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; out vec4 fragColor0; 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); fragColor0 = v; } vs: 01000000:80000321 HWX N LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000321 HWX N LM Light: LightUberShader Cull in vec3 position; in mediump vec3 normal; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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 = u_matambientalpha; vec3 diffuseColor = u_matdiffuse.rgb; vec3 specularColor = u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; lowp float angle; uint comp; uint type; float attenuation; if ((u_lightControl & 0x1u) != 0x0u) { comp = (u_lightControl >> 0x04u) & 0x3u; type = (u_lightControl >> 0x06u) & 0x3u; toLight = u_lightpos0; if (type != 0x0u) { toLight -= worldpos; distance = length(toLight); toLight /= distance; attenuation = clamp(1.0 / dot(u_
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:0000d000 AlphaTest > #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:0000d000 AlphaTest > uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in mediump float v_fogdepth; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 v = v_color0; if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) DISCARD; fragColor0 = v; } vs: 00000000:00000028 C Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00000028 C Cull in vec4 position; in highp float fog; in vec2 texcoord; in lowp vec4 color0; uniform lowp float u_rotation; uniform highp vec2 u_fogcoef; uniform highp vec4 u_depthRange; 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; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; v_fogdepth = fog; vec4 pos = position; vec4 outPos = pos; vec3 projPos = outPos.xyz / outPos.w; float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w; if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00190000:0020d002 Tex Fog TFuncMod AlphaTest > TestDiscardToZero #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00190000:0020d002 Tex Fog TFuncMod AlphaTest > TestDiscardToZero uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) v.a = 0.0; fragColor0 = v; } vs: 00000000:00000b28 HWX C T N Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00000b28 HWX C T N Cull 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_depthRange; 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; 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 = u_matambientalpha; v_color0 = color0; 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_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:0020d800 Fog LM AlphaTest > #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:0020d800 Fog LM AlphaTest > uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; 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); if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) DISCARD; fragColor0 = v; } vs: 01000000:80000321 HWX N LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000321 HWX N LM Light: LightUberShader Cull in vec3 position; in mediump vec3 normal; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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 = u_matambientalpha; vec3 diffuseColor = u_matdiffuse.rgb; vec3 specularColor = u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; lowp float angle; uint comp; uint type; float attenuation; if ((u_lightControl & 0x1u) != 0x0u
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:00200802 Tex Fog LM TFuncMod #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:00200802 Tex Fog LM TFuncMod uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; 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; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t + s; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 01000000:80000b21 HWX T N LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000b21 HWX T N LM Light: LightUberShader Cull in vec3 position; in mediump vec3 normal; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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 = u_matambientalpha; vec3 diffuseColor = u_matdiffuse.rgb; vec3 specularColor = u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; lowp float angle; uint comp; uint type; float attenuation; if ((u_lightControl &
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00182a82:00000802 Tex LM ReplaceBlend_2A:10_B:10_Eq:0 TFuncMod #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00182a82:00000802 Tex LM ReplaceBlend_2A:10_B:10_Eq:0 TFuncMod uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; uniform vec3 u_blendFixA; uniform vec3 u_blendFixB; in lowp vec4 v_color0; in lowp vec3 v_color1; in mediump float v_fogdepth; 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; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t + s; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); v.rgb = v.rgb * u_blendFixA; fragColor0 = v; } vs: 01000000:80120b21 HWX T N LM UVEnv Light: LightUberShader 0: c:0 t:0 1: c:0 t:0 Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80120b21 HWX T N LM UVEnv Light: LightUberShader 0: c:0 t:0 1: c:0 t:0 Cull in vec3 position; in mediump vec3 normal; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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 = u_matambientalpha; vec3 diffuseColor = u_matdiffuse.rgb; vec3 specularColor = u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; lowp float an
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:0020d800 Fog LM AlphaTest > #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:0020d800 Fog LM AlphaTest > uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; 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); if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) DISCARD; fragColor0 = v; } vs: 01000000:80000b21 HWX T N LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000b21 HWX T N LM Light: LightUberShader Cull in vec3 position; in mediump vec3 normal; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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 = u_matambientalpha; vec3 diffuseColor = u_matdiffuse.rgb; vec3 specularColor = u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; lowp float angle; uint comp; uint type; float attenuation; if ((u_lightC
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:0020d802 Tex Fog LM TFuncMod AlphaTest > #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:0020d802 Tex Fog LM TFuncMod AlphaTest > uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t + s; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) DISCARD; fragColor0 = v; } vs: 01000000:80000b21 HWX T N LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000b21 HWX T N LM Light: LightUberShader Cull in vec3 position; in mediump vec3 normal; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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 = u_matambientalpha; vec3 diffuseColor = u_matdiffuse.rgb; vec3 specularColor = u_matspecular.rgb; lowp vec4 lightSum0 = u_ambi
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:0000d000 AlphaTest > #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:0000d000 AlphaTest > uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in mediump float v_fogdepth; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 v = v_color0; if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) DISCARD; fragColor0 = v; } vs: 00000000:00000b28 HWX C T N Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00000b28 HWX C T N Cull 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_depthRange; 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; 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 = u_matambientalpha; v_color0 = color0; 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_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:00000002 Tex TFuncMod #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:00000002 Tex TFuncMod uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; in lowp vec4 v_color0; 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; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t; v.rgb *= u_texMul; fragColor0 = v; } vs: 00000000:00000b28 HWX C T N Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00000b28 HWX C T N Cull 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_depthRange; 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; 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 = u_matambientalpha; v_color0 = color0; 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_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00190000:00209802 Tex Fog LM TFuncMod AlphaTest < TestDiscardToZero #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00190000:00209802 Tex Fog LM TFuncMod AlphaTest < TestDiscardToZero uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t + s; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) >= int(u_alphacolorref >> 0x18u)) v.a = 0.0; fragColor0 = v; } vs: 01000000:80000929 HWX C T LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000929 HWX C T LM Light: LightUberShader Cull 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 uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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(0.0, 0.0, 1.0, 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 = ((u_lightControl & (1u << 0x14u)) != 0x0u) ? color0 : u_matambientalpha; vec3 diffuseCo
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:0020f802 Tex Fog LM TFuncMod AlphaTest >= #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:0020f802 Tex Fog LM TFuncMod AlphaTest >= uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t + s; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) < int(u_alphacolorref >> 0x18u)) DISCARD; fragColor0 = v; } vs: 01000000:80000929 HWX C T LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000929 HWX C T LM Light: LightUberShader Cull 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 uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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(0.0, 0.0, 1.0, 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 = ((u_lightControl & (1u << 0x14u)) != 0x0u) ? color0 : u_matambientalpha; vec3 diffuseColor = ((u_lightControl & (1u << 0x15u
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:0000d002 Tex TFuncMod AlphaTest > #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:0000d002 Tex TFuncMod AlphaTest > uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in mediump float v_fogdepth; in mediump vec3 v_texcoord; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t; v.rgb *= u_texMul; if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) DISCARD; fragColor0 = v; } vs: 00000000:00000920 HWX T Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00000920 HWX T Cull 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 vec2 u_fogcoef; uniform highp vec4 u_depthRange; 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; 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(0.0, 0.0, 1.0, 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 = u_matambientalpha; v_color0 = u_matambientalpha; 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_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00190000:0020d802 Tex Fog LM TFuncMod AlphaTest > TestDiscardToZero #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00190000:0020d802 Tex Fog LM TFuncMod AlphaTest > TestDiscardToZero uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t + s; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) v.a = 0.0; fragColor0 = v; } vs: 01000000:80000929 HWX C T LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000929 HWX C T LM Light: LightUberShader Cull 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 uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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(0.0, 0.0, 1.0, 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 = ((u_lightControl & (1u << 0x14u)) != 0x0u) ? color0 : u_matambientalpha; vec3 diffuseCo
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:0020d802 Tex Fog LM TFuncMod AlphaTest > #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:0020d802 Tex Fog LM TFuncMod AlphaTest > uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; uniform uint u_alphacolorref; uniform uint u_alphacolormask; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); } out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t + s; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u)) <= int(u_alphacolorref >> 0x18u)) DISCARD; fragColor0 = v; } vs: 01000000:80000929 HWX C T LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000929 HWX C T LM Light: LightUberShader Cull 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 uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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(0.0, 0.0, 1.0, 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 = ((u_lightControl & (1u << 0x14u)) != 0x0u) ? color0 : u_matambientalpha; vec3 diffuseColor = ((u_lightControl & (1u << 0x15u)
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:00200802 Tex Fog LM TFuncMod #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:00200802 Tex Fog LM TFuncMod uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; 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; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t + s; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 01000000:80000929 HWX C T LM Light: LightUberShader Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000929 HWX C T LM Light: LightUberShader Cull 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 uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; out 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(0.0, 0.0, 1.0, 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 = ((u_lightControl & (1u << 0x14u)) != 0x0u) ? color0 : u_matambientalpha; vec3 diffuseColor = ((u_lightControl & (1u << 0x15u)) != 0x0u) ? color0.rgb : u_matdiffuse; vec3 specularColor = ((u_lightControl & (1u << 0x16u)) != 0x0u) ? color0.rgb : u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight;
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:00200002 Tex Fog TFuncMod #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:00200002 Tex Fog TFuncMod uniform sampler2D tex; uniform float u_texNoAlpha; uniform float u_texMul; 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; t.a = max(t.a, u_texNoAlpha); vec4 v = p * t; v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 00000000:00000b28 HWX C T N Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00000b28 HWX C T N Cull 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_depthRange; 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; 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 = u_matambientalpha; v_color0 = color0; 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_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.4 2023-07-30 Error in shader program link: info: Vertex info ----------- error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered fs: 00180000:00000000 #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - GLSL 140 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 00180000:00000000 in lowp vec4 v_color0; in mediump float v_fogdepth; out vec4 fragColor0; void main() { vec4 v = v_color0; fragColor0 = v; } vs: 00000000:00000b28 HWX C T N Cull #version 140 #extension GL_EXT_gpu_shader4 : enable // Driver: GeForce GT 320M/PCI/SSE2 - 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:00000b28 HWX C T N Cull 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_depthRange; 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; 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 = u_matambientalpha; v_color0 = color0; 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_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) { if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) { outPos.xyzw = u_cullRangeMax.wwww; } } if (u_cullRangeMin.w <= 0.0) { if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001; gl_Position = outPos; }
GTA: Liberty City Stories v1.15.3 2023-07-29 Unknown GE command : fb710020
GTA: Liberty City Stories v1.15.4 2023-08-24 __KernelStopThread: thread 338 does not exist (helper deleted)
GTA: Liberty City Stories v1.9.4 2023-07-18 Jump to invalid address: 067c4780
GTA: Liberty City Stories v1.14.4 2023-07-16 Error in shader compilation: info: Vertex shader compilation failed. ERROR: 0:127: 'comp' : redefinition ERROR: 0:128: 'type' : redefinition ERROR: 0:176: 'comp' : redefinition ERROR: 0:177: 'type' : redefinition ERROR: 0:225: 'comp' : redefinition ERROR: 0:226: 'type' : redefinition ERROR: 6 compilation errors. No code generated. 01000000:80050b38 HWX C T N Tex TexProjUV UVMtx Light: LightUberShader Cull #version 300 es // Driver: Adreno (TM) 305 - GLSL 300 precision highp float; #define gl_VertexIndex gl_VertexID #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80050b38 HWX C T N Tex TexProjUV UVMtx Light: LightUberShader Cull 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 mediump mat4 u_texmtx; uniform vec4 u_uvscaleoffset; uniform uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; 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 = ((u_lightControl & (1u << 0x14u)) != 0x0u) ? color0 : u_matambientalpha; vec3 diffuseColor = ((u_lightControl & (1u << 0x15u)) != 0x0u) ? color0.rgb : u_matdiffuse; vec3 specularColor = ((u_lightControl & (1u << 0x16u)) != 0x0u) ? color0.rgb : u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; lowp float angle; if ((u_lightControl & 1u) != 0x0u) { uint comp = (u_lightControl >> 0x04u) & 0x3u; uint type = (u_lightControl >> 0x06u) & 0x3u; if (type == 0x0u) { toLight = u_lightpos0; } else { toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; } ldot = dot(toLight, worldnormal); if (comp == 0x2u) { if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } } switch (int(type)) { case 1: lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); break; case 2: 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 : po
GTA: Liberty City Stories v1.14.4 2023-07-16 Error in shader compilation: info: Vertex shader compilation failed. ERROR: 0:125: 'comp' : redefinition ERROR: 0:126: 'type' : redefinition ERROR: 0:174: 'comp' : redefinition ERROR: 0:175: 'type' : redefinition ERROR: 0:223: 'comp' : redefinition ERROR: 0:224: 'type' : redefinition ERROR: 6 compilation errors. No code generated. 01000000:80000938 HWX C T Tex Light: LightUberShader Cull #version 300 es // Driver: Adreno (TM) 305 - GLSL 300 precision highp float; #define gl_VertexIndex gl_VertexID #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01000000:80000938 HWX C T Tex Light: LightUberShader Cull 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 uint u_lightControl; 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 mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump vec2 u_lightangle_spotCoef3; 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_depthRange; 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; 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(0.0, 0.0, 1.0, 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 = ((u_lightControl & (1u << 0x14u)) != 0x0u) ? color0 : u_matambientalpha; vec3 diffuseColor = ((u_lightControl & (1u << 0x15u)) != 0x0u) ? color0.rgb : u_matdiffuse; vec3 specularColor = ((u_lightControl & (1u << 0x16u)) != 0x0u) ? color0.rgb : u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; lowp float angle; if ((u_lightControl & 1u) != 0x0u) { uint comp = (u_lightControl >> 0x04u) & 0x3u; uint type = (u_lightControl >> 0x06u) & 0x3u; if (type == 0x0u) { toLight = u_lightpos0; } else { toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; } ldot = dot(toLight, worldnormal); if (comp == 0x2u) { if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } } switch (int(type)) { case 1: lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); break; case 2: 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;
GTA: Liberty City Stories v1.9.4 2023-07-16 MIPSCompileOp: Invalid instruction 0080ffff
GTA: Liberty City Stories v1.9.4 2023-07-16 MIPSCompileOp: Invalid instruction b707644e
GTA: Liberty City Stories v1.9.4 2023-07-16 Jump to invalid address: 0660e700
GTA: Liberty City Stories v1.9.4 2023-07-16 MIPSCompileOp: Invalid instruction 42b8551c
GTA: Liberty City Stories v1.9.4 2023-07-16 Jump to invalid address: 02ce8180
GTA: Liberty City Stories v1.9.4 2023-07-16 MIPSCompileOp: Invalid instruction 429f94be
GTA: Liberty City Stories v1.9.4 2023-07-16 Jump to invalid address: 02d1c980
GTA: Liberty City Stories v1.9.4 2023-07-16 Jump to invalid address: 06768000
GTA: Liberty City Stories v1.9.4 2023-07-18 MIPSCompileOp: Invalid instruction 0000e67e
GTA: Liberty City Stories v1.9.4 2023-07-16 MIPSCompileOp: Invalid instruction 4246054a
GTA: Liberty City Stories v1.9.4 2023-07-16 MIPSCompileOp: Invalid instruction 42462db1
GTA: Liberty City Stories v1.9.4 2023-07-18 Jump to invalid address: 02d1cfc0
GTA: Liberty City Stories v1.9.4 2023-07-18 MIPSCompileOp: Invalid instruction 426927dc
GTA: Liberty City Stories v1.9.4 2023-07-18 Jump to invalid address: 02cf6a00
GTA: Liberty City Stories v1.9.4 2023-07-18 MIPSCompileOp: Invalid instruction 02febafc