//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Parameters:
//
//   float4x4 g_cameraToReflectionTexture;
//   sampler2D reflectionSampler;
//
//
// Registers:
//
//   Name                        Reg   Size
//   --------------------------- ----- ----
//   g_cameraToReflectionTexture c0       4
//   reflectionSampler           s0       1
//
//
// Default values:
//
//   g_cameraToReflectionTexture
//     c0   = { 0, 0, 0, 0 };
//     c1   = { 0, 0, 0, 0 };
//     c2   = { 0, 0, 0, 0 };
//     c3   = { 0, 0, 0, 0 };
//

    ps_3_0
    def c4, 1, 0, 0, 0
def c220, 1, 0.5, 0.0625, 0.5
dcl_2d s15
    dcl_texcoord4 v0.xyz
    dcl_2d s0
    mad r0, v0.xyzx, c4.xxxy, c4.yyyx
	
texldl r24, c220.z, s15
add r24.y, -r0.z, -r24.y
mul r24.x, r24.x, r24.y
rcp r25.x, c190.x
mul r24.x, r24.x, r25.x 
add r0.x, r0.x, r24.x

    dp4 r1.x, r0, c3
    rcp r1.x, r1.x
    dp4 r2.x, r0, c0
    dp4 r2.y, r0, c1
    mul r0.xy, r1.x, r2
    texld oC0, r0, s0

// approximately 7 instruction slots used (1 texture, 6 arithmetic)
 