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

    ps_3_0
    def c3, 2, -1, 0, 1
    def c4, 0.333000004, 0, 0, 0
def c220, 0, 0, 0.0625, 0
dcl_2d s13

    dcl_color v0
    dcl_texcoord v1.xy
    dcl_2d s0
    dcl_2d s1
    dcl_cube s2
    mad r0.xy, v1, c3.x, c3.y
    dp2add r0.x, r0, r0, c3.z
    rsq r0.x, r0.x
    rcp r0.x, r0.x
    add_pp r0.x, -r0.x, c3.w
    texld r1, v1, s1
    mad_pp r0.yz, r1.xxyw, c3.x, c3.y
    mul r1.xyz, r0.z, c1
    mad r0.yzw, r0.y, c0.xxyz, r1.xxyz
    mad r0.xyz, -r0.x, c2, r0.yzww
    nrm_pp r1.xyz, r0
    mov_pp r0.xyz, -r1
    texld_pp r0, r0, s2
    dp3 r0.w, v0, c4.x
    texld_pp r1, v1, s0
    mul r1, r1, v0
    mad oC0.xyz, r0, r0.w, r1
    mov oC0.w, r1.w

// approximately 21 instruction slots used (3 texture, 18 arithmetic)
 
