vs.1.1

dcl_position0 v0
dcl_color0   v5
dcl_texcoord0 v7


mul r0, c14, v0.x 
mad r0, c15, v0.y, r0
mov r1, c1.x
mad r0, r1, c16, r0
frc r0.xy, r0
frc r1.xy, r0.zw
mov r0.zw, r1.xy
sub r0, r0, c0.y
mul r1, r0, c17.w
mul r2, r1, r1
mul r3, r2, r1
mul r5, r3, r2
mul r7, r5, r2
mad r0, r3, c8.x, r1
mad r0, r5, c8.y, r0
mad r0, r7, c8.z, r0
dp4 r3.x, r0, c11
//dp4 r3.y, r0, c12
dp4 r3.zw, r0, c13

mov r3.y,c10.y
mul r3, r3, v7.z
mov r2.yw, v0.yw
add r2.xyz, r3, v0
//mov r2.y,v0.y
m4x4 oPos, r2, c4

//dp4 r1.x, r0, c18
//mad r0, c19.xzxz, -r1.x, c19.y
//add oD0,r0,v5
mov oD0, v5
mov oT0.xy, v7.xy
