//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Parameters:
//
//   float g_flip;
//   float4 g_location;
//   float4 g_screenInvSize;
//   float4 g_uvRect;
//
//
// Registers:
//
//   Name            Reg   Size
//   --------------- ----- ----
//   g_screenInvSize c0       1
//   g_location      c1       1
//   g_uvRect        c2       1
//   g_flip          c3       1
//

    vs_3_0
    def c4, 2, -1, 1, -2
    def c5, 0, 1, 0, 0
	def c200, 1.0, 0.5, 0.0625, 0.5
    dcl_position v0  // input<0,1>
    dcl_texcoord v1  // input<4,5>
    dcl_position o0
    dcl_texcoord o1.xy
	dcl_2d s0

#line 41 "c:\spiders\marswl\data\datasource\shaders\memory"
    mad r0.xy, v0, c1.zwzw, c1  // ::xy<0,1>
    mul r0.xy, r0, c0
    mad r0.xy, r0, c4.x, c4.y

#line 46
    mov r1.yz, c4
    mul r0.zw, r1.xyyz, c0.xyxy
    mad r10.xy, r0, c4.zyzw, r0.zwzw  // ::mainVP<0,1>
    mov r10.zw, c5.xyxy  // ::mainVP<2,3>
	
	texldl r14, c200.z, s0
	

	mov r11.x, c252.x
	if_eq r11.x, c200.x
		mul r14.x, r14.x, c200.w
	else		
		mul r14.x, r14.x, c254.x
	endif	
		

	
	//add r14.y, r10.w, -r14.y
	
	add r10.x, r10.x, r14.x
	mov o0, r10

#line 49
    mad r0.xy, v1, c2.zwzw, c2  // ::output<4,5>

#line 52
    mad r0.w, r0.y, c4.w, c4.z
    mad r0.z, c3.x, r0.w, r0.y  // ::output<5>

#line 49
    mov o1.xy, r0.xzzw  // ::mainVP<4,5>

// approximately 11 instruction slots used
 