//
// Generated by Microsoft (R) HLSL Shader Compiler 9.27.952.3022
//
//   using 3Dmigoto v1.2.29 on Mon Apr 25 00:47:58 2016
//
//
// Buffer Definitions: 
//
// cbuffer dynamic_light
// {
//
//   float4 Ldynamic_color;             // Offset:    0 Size:    16 [unused]
//   float4 Ldynamic_pos;               // Offset:   16 Size:    16 [unused]
//   float4 Ldynamic_dir;               // Offset:   32 Size:    16
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// s_position                        texture  float4       2dMS4    0        1
// dynamic_light                     cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD                 0   xy          0     NONE   float       
// COLOR                    0   xyzw        1     NONE   float       
// SV_Position              0   xyzw        2      POS   float   xy  
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//
ps_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[3], immediateIndexed
dcl_resource_texture2dms(4) (float,float,float,float) t0
dcl_input_ps_siv linear noperspective v2.xy, position
dcl_output o0.xyzw
dcl_temps 2
ftoi r0.xy, v2.xyxx
mov r0.zw, l(0,0,0,0)
ldms_indexable(texture2dms)(float,float,float,float) r0.xyz, r0.xyzw, t0.xywz, l(0)
mad r1.x, |r0.y|, l(2.000000), l(-1.000000)
mad r0.w, -r1.x, r1.x, l(1.000000)
mad r0.w, -r0.x, r0.x, r0.w
sqrt r0.w, |r0.w|
lt r0.y, r0.y, l(0.000000)
movc r0.y, r0.y, l(-1.000000), l(1.000000)
mul r1.y, r0.w, r0.y
mov r1.z, r0.x
ubfe r0.x, l(8), l(13), r0.z
utof r0.x, r0.x
mul r0.x, r0.x, l(0.00392464688)
dp3 r0.y, cb0[2].xyzx, r1.xyzx
mad r0.xy, r0.xxxx, r0.yyyy, l(0.00352941174, -0.000392156857, 0.000000, 0.000000)
lt r0.y, r0.y, l(0.000000)
mov o0.xyzw, r0.xxxx
discard_nz r0.y
ret 
// Approximately 20 instruction slots used
