// mouse cursor
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
// Parameters:
//
//   float4 BufferCamera[27];
//   float4 BufferObject[8];
//   float4 BufferSimple[3];
//   float4 BufferTexture[6];
//
//
// Registers:
//
//   Name          Reg   Size
//   ------------- ----- ----
//   BufferCamera  c0       4
//   BufferObject  c4       3
//   BufferTexture c7       2
//   BufferSimple  c9       1
//

    vs_3_0
    def c10, 1, 0, 0, 0
def c100, 0, 0, 0, 0
def c246, 40.93, 10, 0, 0
def c247, 0.6, 0.368, 0.0625, 1
def c248, 12.25, 0, 0, 2
dcl_2d s3
    dcl_position v0
    dcl_texcoord v1
    dcl_position o0
    dcl_color o1
    dcl_texcoord o2.xy
    mul r0, c7, v1.xxyy
    add r0.xy, r0.zwzw, r0
    add o2.xy, r0, c8
    mad r0, v0.xyzx, c10.xxxy, c10.yyyx
    dp4 r1.x, r0, c5
    mul r1, r1.x, c1
    dp4 r2.x, r0, c4
    dp4 r0.x, r0, c6
    mad r1, r2.x, c0, r1
    mad r0, r0.x, c2, r1
    add r10, r0, c3
    mov o1, c9

texldl r24, c247.z, s3
mov r25, r24
mov r15, c219

if_eq r15.z, c100.x
	mov r19.x, c247.x
else
	mov r19.x, c100.x
endif

//mouse cursor
if_eq r10.w, c247.w
mad r10.x, r25.x, r19.x, r10.x
	//mov r10, c100
endif


mov o0, r10

// approximately 12 instruction slots used
 