//
// Generated by Microsoft (R) D3DX9 Shader Compiler 9.08.299.0000
//
// Parameters:
//
//   float4 VectorFromObject;
//
//
// Registers:
//
//   Name             Reg   Size
//   ---------------- ----- ----
//   VectorFromObject c0       1
//
            
//  preshader
//  mul c2.x, c0.z, c0.y
            
// approximately 1 instruction used
//
// Generated by Microsoft (R) D3DX9 Shader Compiler 9.08.299.0000
//
// Parameters:
//
//   float4 TextureFactor;
//   sampler2D TextureSampler;
//   float4 VectorFromShader;
//   sampler2D g_Sampler1;
//
//
// Registers:
//
//   Name             Reg   Size
//   ---------------- ----- ----
//   VectorFromShader c4       1
//   TextureFactor    c5       1
//   VectorFromShader c6       1
//   TextureSampler   s0       1
//   g_Sampler1       s1       1
//

    ps_2_0
    def c7, 1, 5, 0.300000012, 0.200000003
    def c8, 0.5, 0.75, 0.899999976, 0.158730164
    dcl t0.xy
    dcl t1.xy
    dcl_2d s0
    dcl_2d s1

//	mul c2.x, c0.z, c0.y
	
    mul r11.x, c4.z, c4.x
    texld r0, t1, s1
    add r0.w, -r0.w, c7.x
    mul r1.w, r0.w, r11.x

    mad r9.y, r1.w, -c7.y, t0.y
    mov r9.x, t0.x

    mad r10.y, r11.x, r0.w, r9.y
    mov r10.x, t0.x

    mad r8.y, r11.x, r0.w, r10.y
    mov r8.x, t0.x

    mad r7.y, r11.x, r0.w, r8.y
    mov r7.x, t0.x

    mad r6.y, r11.x, r0.w, r7.y
    mov r6.x, t0.x

    mad r5.y, r11.x, r0.w, r6.y
    mov r5.x, t0.x

    mad r1.w, r11.x, r0.w, r5.y
    min r4.y, c6.y, r1.w
    mov r4.x, t0.x

    mad r1.w, r11.x, r0.w, r4.y
    min r3.y, c6.y, r1.w
    mov r3.x, t0.x

    mad r1.w, r11.x, r0.w, r3.y
    min r2.y, c6.y, r1.w
    mov r2.x, t0.x

    mad r2.w, r11.x, r0.w, r2.y
    min r1.y, c6.y, r2.w
    mov r1.x, t0.x

    mad r1.w, r11.x, r0.w, r1.y
    min r0.y, c6.y, r1.w
    mov r0.x, t0.x

    texld r10, r10, s0
    texld r9, r9, s0
    texld r8, r8, s0
    texld r7, r7, s0
    texld r6, r6, s0
    texld r5, r5, s0
    texld r4, r4, s0
    texld r3, r3, s0
    texld r2, r2, s0
    texld r1, r1, s0
    texld r0, r0, s0

    mul r10.xyz, r10, c7.z
    mad r9.xyz, r9, c7.w, r10
    mad r8.xyz, r8, c8.x, r9
    mad r7.xyz, r7, c8.y, r8
    mad r6.xyz, r6, c8.z, r7
    add r5.xyz, r5, r6
    mad r4.xyz, r4, c8.z, r5
    mad r3.xyz, r3, c8.y, r4
    mad r2.xyz, r2, c8.x, r3
    mad r1.xyz, r1, c7.z, r2
    mad r0.xyz, r0, c7.w, r1
    mul r0.xyz, r0, c5
    mul r0.xyz, r0, c8.w
    mov r0.w, c7.x

    mov oC0, r0

