Ready. Compiling '../shaders/default/Polkadot3D.vert'... Compiling '../shaders/default/Polkadot3D.frag'... Linking '../shaders/default/Polkadot3D.vert' with '../shaders/default/Polkadot3D.frag'... Failed link. Fragment info ------------- Internal error: assembly compile error for fragment shader at offset 821: -- error message -- line 30, column 26: error: expected '}' -- internal assembly text -- !!FP1.0 # cgc version 1.3.0001, build date Jul 29 2005 13:26:34 # command line args: #vendor NVIDIA Corporation #version 1.0.02 #profile fp30 #program main #semantic Spacing #semantic DotSize #semantic ModelColor #semantic PolkaDotColor #var float4 gl_FragColor : $vout.COLOR : COL : -1 : 1 #var float LightIntensity : $vin.TEX0 : TEX0 : -1 : 1 #var float3 MCPosition : $vin.TEX1 : TEX1 : -1 : 1 #var float3 Spacing : : : -1 : 1 #var float DotSize : : : -1 : 1 #var float3 ModelColor : : : -1 : 1 #var float3 PolkaDotColor : : : -1 : 1 DECLARE Spacing; DECLARE DotSize; DECLARE ModelColor; DECLARE PolkaDotColor; RCPR R0.x, Spacing.x; RCPR R0.z, Spacing.z; RCPR R0.y, Spacing.y; MULR R0.xyz, f[TEX1], R0; FLRR R0.xyz, R0; MADR R1.xyz, -R0, Spacing, f[TEX1]; MOVR R0.xyz, Spacing; MADR R0.xyz, {-0,5, 0, 0, 0}.x, R0, R1; DP3R R0.x, R0, R0; RSQR R0.x, R0.x; RCPR R0.x, R0.x; MOVR R1.xyz, PolkaDotColor; ADDR R1.xyz, -ModelColor, R1; SGER H0.x, DotSize, R0; MADR R0.xyz, H0.x, R1, ModelColor; MULR R0.xyz, R0, f[TEX0].x; MOVR_SAT o[COLR].xyz, R0; MOVR o[COLR].w, {1, 0, 0, 0}.x; END # 18 instructions, 2 R-regs, 1 H-regs