//
// Generated by Microsoft (R) D3DX9 Shader Compiler 5.04.00.2904
//
//   fxc /Tps_2_0 /nologo /Zi /Fc\FRT\pshaders\unlit\baseenv.hpa
//    \modules6\graphics\pc\pshaders\unlit\baseenv.hps
//
//
// Parameters:
//
//   sampler2D base_damaged_texture_sampler;
//   sampler2D base_texture_sampler;
//   float4 constant_specular_colour;
//   sampler2D envmap_texture_sampler;
//
//
// Registers:
//
//   Name                         Reg   Size
//   ---------------------------- ----- ----
//   constant_specular_colour     c2       1
//   base_texture_sampler         s0       1
//   base_damaged_texture_sampler s1       1
//   envmap_texture_sampler       s2       1
//

    ps_2_0
    dcl v0  // input<4,5,6,7>
    dcl v1.xyz  // input<8,9,10>
    dcl t0.xy  // input<12,13>
    dcl t1.xy  // input<14,15>
    dcl_2d s0
    dcl_2d s1
    dcl_2d s2

#line 62 "W:\modules6\graphics\pc\pshaders\unlit\baseenv.hps"
    texld r3, t0, s0  // base_colour<0,1,2,3>
    texld r2, t0, s1  // base_damaged_colour<0,1,2,3>

#line 67
    texld r1, t1, s2  // envmap_colour<0,1,2>

#line 64
    lrp r0, c2.w, r2, r3  // base_colour<0,1,2,3>
    mul r0, r0, v0  // base_colour<0,1,2,3>

#line 70
    mad r0.xyz, r1, v1, r0  // combined_colour<0,1,2>
    mov oC0, r0  // ::main<0,1,2,3>

// approximately 8 instruction slots used (3 texture, 5 arithmetic)
