Hi everybody,
I use FreeBSD and i patched the sources code of Mupen64 with the patch that Sri Narayan gave. Mupen64 works but crashes randomly. The output in terminal gives :
do you have the same problem ?Code:Glide3x warning : Fragment info ------------- Internal error: assembly compile error for fragment shader at offset 1278: -- error message -- line 38, column 17: error: expected '}' -- internal assembly text -- !!ARBfp1.0 OPTION NV_fragment_program2; # cgc version 1.6.0011, build date Feb 26 2007 23:25:55 # command line args: #vendor NVIDIA Corporation #version 1.6.0.11 #profile fp40 #program main #semantic texture0 #semantic texture1 #semantic ditherTex #semantic constant_color #semantic ccolor0 #semantic ccolor1 #semantic chroma_color #semantic lambda #var float4 gl_TexCoord[0] : $vin.TEX0 : TEX0 : -1 : 1 #var float4 gl_TexCoord[1] : $vin.TEX1 : TEX1 : -1 : 0 #var float4 gl_TexCoord[2] : $vin.TEX2 : TEX2 : -1 : 1 #var float4 gl_TexCoord[3] : : : -1 : 0 #var float4 gl_TexCoord[4] : : : -1 : 0 #var float4 gl_TexCoord[5] : : : -1 : 0 #var float4 gl_TexCoord[6] : : : -1 : 0 #var float4 gl_TexCoord[7] : : : -1 : 0 #var float4 gl_FragColor : $vout.COLOR : COL : -1 : 1 #var sampler2D texture0 : : texunit 1 : -1 : 1 #var sampler2D texture1 : : : -1 : 0 #var sampler2D ditherTex : : texunit 0 : -1 : 1 #var float4 constant_color : : c[0] : -1 : 1 #var float4 ccolor0 : : : -1 : 0 #var float4 ccolor1 : : : -1 : 0 #var float4 chroma_color : : : -1 : 0 #var float lambda : : : -1 : 0 #var float4 fogValue : : : -1 : 0 #var <none>4 $kill_0000 : $vout.$kill : $kill : -1 : 0 #const c[1] = 0,03125 0,5 1000 32 PARAM c[2] = { program.local[0], { 0,03125, 0,5, 1000, 32 } }; TEMP R0; TEMP RC; TEMP HC; OUTPUT oCol = result.color; MADR R0.xy, fragment.texcoord[2].zwzw, c[1].y, c[1].y; MULR R0.xy, R0, c[1].z; MULR R0.zw, R0.xyxy, c[1].x; FLRR R0.zw, R0; MADR R0.xy, -R0.zwzw, c[1].w, R0; MULR R0.xy, R0, c[1].x; TEX R0.w, R0, texture[0], 2D; SGTRC HC.x, R0.w, c[1].y; TEX R0, fragment.texcoord[0], texture[1], 2D; KIL NE.x; MULR oCol.w, R0, c[0]; MOVR oCol.xyz, R0; END # 12 instructions, 1 R-regs, 0 H-regs Signal number 11 caught: errno = 0 (Unknown error: 0)



Reply With Quote

. 