Hi! I have problem, this shader perfectly works on GF2GTS, but i have error in 20th line for Radeon(9600):"syntax error on pas 873 -Error on line 33: malfarmed declaration (hint: ',')". May be somebody know, what happening?=)
Code :!!ARBvp1.0ATTRIB iPos = vertex.position; ATTRIB iColor = vertex.color; PARAM mvp[4] = { state.matrix.mvp }; PARAM cam_pos = program.local[0]; OUTPUT oPos = result.position; OUTPUT oTex0 = result.texcoord; OUTPUT oTex1 = result.texcoord[1]; OUTPUT oColor = result.color; TEMP tmp DP4 oPos.x, mvp[0], iPos; DP4 oPos.y, mvp[1], iPos; DP4 oPos.z, mvp[2], iPos; DP4 oPos.w, mvp[3], iPos; MOV oTex0.xy,iPos; MUL oTex1.xy, iPos, 0.03125; SUB tmp,iPos,cam_pos; MOV tmp.z,0; DP3 tmp,tmp,tmp;#<<here error MAD oColor,tmp, -0.00102564,1.64103;END



