// hud backgrounds & graphics
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Parameters:
//
//   float4x4 $ModelViewProjMatrix;
//
//
// Registers:
//
//   Name                 Reg   Size
//   -------------------- ----- ----
//   $ModelViewProjMatrix c0       4
//

    vs_3_0
def c100, 0, 0, 0, 0
def c245, -480, 500, 0, 40
def c247, 0.55, 5, 0.0625, 4
dcl_2d s0
    dcl_position v0
    dcl_color v1
    dcl_texcoord v2
    dcl_position o0
    dcl_texcoord o1.xy
    dcl_texcoord1 o2
    mul r0, c1, v0.y
    mad r0, c0, v0.x, r0
    mad r0, c2, v0.z, r0
    add r10, r0, c3
mov r11, r10
texldl r24, c247.z, s0
mov r25, r24
add r24.y, r10.w, -r24.y
mul r24.x, r24.x, r24.y

mov r14.x, c253.x
mov r15.x, c246.z

if_eq r14.x, c100.x
	mul r24.x, r24.x, c247.x
endif

if_eq r14.x, c247.y
	if_ne r15.x, c100.x
		if_gt r10.y, c245.x
			mul r24.x, r24.x, c247.x
		endif
	endif
endif

if_eq r14.x, c245.w //index 40
	if_ne r15.x, c100.x
		if_lt r10.y, c245.y
			mul r24.x, r24.x, c247.x
		endif
	else
		mul r24.x, r24.x, c247.x
	endif
endif

add r10.x, r10.x, -r24.x

mov o0, r10
    mov o1.xy, v2
    mov o2, v1

// approximately 6 instruction slots used
 