//
// Generated by Microsoft (R) D3DX9 Shader Compiler 
//
// Parameters:
//
//   float3 AbientNormal;
//   float4 fvLightPosition;
//   row_major float4x4 matViewProjection;
//   float4 secLiPos;
//   float2 spScale;
//   row_major float2x4 spriteRotate;
//
//
// Registers:
//
//   Name              Reg   Size
//   ----------------- ----- ----
//   matViewProjection c0       4
//   spriteRotate      c4       2
//   AbientNormal      c6       1
//   fvLightPosition   c8       1
//   spScale           c9       1
//   secLiPos          c10      1
//

    vs_2_0
    def c7, 0.00357142859, 0, 1, 0
    def c11, 0.25, 0.5, 0, 0
    dcl_position v0
    dcl_texcoord v1
    add r0, -v0, c8
    mul r0.y, r0.y, c9.x
    mul r1.xy, r0.y, c5
    mul r0.x, -r0.x, c9.x
    mov oT1.zw, r0
    mad oT1.xy, r0.x, c4, r1
    add r0.xyz, -v0, c10
    dp3 r0.w, r0, r0
    rsq r0.w, r0.w
    rcp r0.w, r0.w
    add r0.w, -r0.w, c10.w
    mul r0.w, r0.w, c7.x
    max r0.w, r0.w, c7.y
    min oT3.w, r0.w, c7.z
    mul r0.y, r0.y, c9.x
    mul r0.yw, r0.y, c5.xxzy
    mul r0.x, -r0.x, c9.x
    mov oT3.z, r0.z
    mad oT3.xy, r0.x, c4, r0.ywzw
    mov r0.xy, c5
    mul r0.xy, r0, c6.y
    mov r1.xy, c4
    mad r0.xy, c6.x, r1, r0
    mul r0.xy, r0, c9.x
    mov r0.z, c6.z
    dp3 r0.w, r0, r0
    rsq r0.w, r0.w
    mul oT2.xyz, r0, r0.w
    mul r0, v0.y, c1
    mad r0, v0.x, c0, r0
    mad r0, v0.z, c2, r0
    mad oPos, v0.w, c3, r0
    mul r0.xy, v1.y, c5
    mad r0.xy, v1.x, c4, r0
    mad oT0.xy, r0, c11, c11

// approximately 35 instruction slots used
