// lego lotr - rain drops (are at 2d screen)
// Generated by Microsoft (R) HLSL Shader Compiler 9.26.952.2844
//
// Parameters:
//
//   float4 vs_inverse_projection2;
//   float4 vs_inverse_projection_xy;
//   float4 vs_projection_params;
//   float4 vs_screenSize;
//   float4 vs_viewportScaleBias;
//
//
// Registers:
//
//   Name                     Reg   Size
//   ------------------------ ----- ----
//   vs_projection_params     c9       1
//   vs_inverse_projection_xy c10      1
//   vs_inverse_projection2   c12      1
//   vs_screenSize            c81      1
//   vs_viewportScaleBias     c82      1
//

    vs_3_0
    def c0, -0.5, 2, -2, 0
    def c1, 1, 0, 0, 0
def c220, 0.5,0,0.0625,0
dcl_2d s0
    dcl_position v0
    dcl_texcoord v1
    dcl_position o0
    dcl_texcoord o1
    dcl_texcoord1 o2
    dcl_texcoord2 o3
dcl_texcoord8 o5
mov o5, c10			//pass out vs_inverse_projection_xy
    mad o1.xy, v1, c82.zwzw, c82
    add r0.xy, c0.x, v1
    mul r0.xy, r0, c10
    mov r1.yz, c0
    mad o1.zw, r0.xyxy, r1.xyyz, c10
	
mov r10, v0
texldl r24, c220.z, s0
add r24.y, v1.z, -r24.y
mul r24.x, r24.x, r24.y
//mul r24.x, r24.x, c220.x
add r10.x, r10.x, r24.x

    mov o0, r10 //v0
    
	mov r0.xy, c1
    mad o2.xyz, c9.xwxw, r0.xxyw, r0.yyxw
    mov o2.w, c12.x
    mov o3, c81

// approximately 10 instruction slots used
 