//
// Generated by Microsoft (R) D3DX9 Shader Compiler 
//
// Parameters:
//
//   row_major float4x4 matViewProjection;
//   float4 spPos;
//
//
// Registers:
//
//   Name              Reg   Size
//   ----------------- ----- ----
//   matViewProjection c0       4
//   spPos             c7       1
//

    vs_2_0
    def c2, 0.125, 0.0625, 16, 0
    def c4, 0.159154937, 0.5, 6.28318548, -3.14159274
    def c5, -1.55009923e-006, -2.17013894e-005, 0.00260416674, 0.00026041668
    def c6, -0.020833334, -0.125, 1, 0.5
    dcl_position v0
    dcl_texcoord v1
    dcl_texcoord1 v2
    mad r0.xy, v1, c2.y, c2.y
    mad oT0.x, v1.z, c2.x, r0.x
    mul r0.x, v1.z, c2.x
    frc r0.z, r0.x
    add r0.w, r0.x, -r0.z
    slt r0.z, -r0.z, r0.z
    slt r0.x, r0.x, -r0.x
    mad r0.x, r0.x, r0.z, r0.w
    mad oT0.y, r0.x, c2.x, r0.y
    mad r0.x, v0.z, c4.x, c4.y
    frc r0.x, r0.x
    mad r0.x, r0.x, c4.z, c4.w
    sincos r1.xy, r0.x, c5, c6
    mov r0.xy, v1
    mul r0.xy, r0, v0.w
    mul r0.xy, r0, c2.z
    mul r0.yzw, r1.xyxy, r0.xyyx
    mad r0.x, r0.x, r1.x, -r0.y
    add r0.y, r0.w, r0.z
    add r0.xy, r0, v0
    mul r0.yzw, r0.y, c1.xxyw
    mad r0.xyz, r0.x, c0.xyww, r0.yzww
    add oPos.xyw, r0.xyzz, c3
    mov oPos.z, c7.z
    mov oT1, v2

// approximately 32 instruction slots used
