//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Parameters:
//
//   sampler2D BumpMapSampler;
//   sampler2D DiffuseMapSampler;
//   float3 LightPos;
//   row_major float4x4 matViewProjectionInv;
//
//
// Registers:
//
//   Name                 Reg   Size
//   -------------------- ----- ----
//   matViewProjectionInv c0       3
//   LightPos             c3       1
//   DiffuseMapSampler    s0       1
//   BumpMapSampler       s1       1
//

    ps_3_0
    def c4, 2, -1, 1, 0
    def c5, 0.5, 0.75, 0.25, 0
def c220, 0, 0, 0.0625, 0
dcl_2d s13

    dcl_color v0
    dcl_texcoord v1.xy
    dcl_texcoord2 v2.xy
    dcl_texcoord3 v3.xy
    dcl_2d s0
    dcl_2d s1
    texld_pp r0, v1, s1
    mad_pp r0.xy, r0, c4.x, c4.y
    mul_pp r0.xy, r0, c4.zyzw
    mul r0.z, r0.y, v3.x
    mad_pp r1.x, r0.x, v3.y, -r0.z
    dp2add_pp r1.y, r0, v3, c4.w
    add_pp r0.xy, r1, v2
    mul r0.yzw, r0.y, c1.xxyz
    mad r0.xyz, r0.x, c0, r0.yzww
    add r0.xyz, r0, c2
    nrm_pp r1.xyz, r0
    dp3_pp r0.x, c3, -r1
    add_pp r0.x, r0.x, c4.z
    mul_sat_pp r0.x, r0.x, c5.x
    mad r0.x, r0.x, c5.y, c5.z
    texld_pp r1, v1, s0
    mul r1, r1, v0
    mul oC0.xyz, r0.x, r1
    mov oC0.w, r1.w

// approximately 22 instruction slots used (2 texture, 20 arithmetic)
 
