//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.2.52 on Thu Feb 16 11:15:46 2017
//
//
// Patch Constant signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TessFactor            0   x           0 QUADEDGE   float       
// SV_TessFactor            1   x           1 QUADEDGE   float       
// SV_TessFactor            2   x           2 QUADEDGE   float       
// SV_TessFactor            3   x           3 QUADEDGE   float       
// SV_InsideTessFactor      0   x           4  QUADINT   float       
// SV_InsideTessFactor      1   x           5  QUADINT   float       
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// INTERNALTESSPOS          0   xyzw        0     NONE   float   xyzw
// TEXCOORD                 0   x           1     NONE   float       
// NORMAL                   0    yzw        1     NONE   float       
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// TEXCOORD                 0   xyzw        1     NONE   float   xyzw
// TEXCOORD                 1   xyzw        2     NONE   float   xyzw
// TEXCOORD                 2   xyzw        3     NONE   float   xyzw
// TEXCOORD                 5   xyzw        4     NONE   float   xyzw
// TEXCOORD                 6   xyzw        5     NONE   float   xyzw
// TEXCOORD                 7   xyzw        6     NONE   float   xyzw
// TEXCOORD                 8   xyzw        7     NONE   float   xyzw
//
ds_5_0
dcl_input_control_point_count 4
dcl_tessellator_domain domain_quad
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[78], immediateIndexed
dcl_constantbuffer cb1[6], immediateIndexed
dcl_constantbuffer cb2[1], immediateIndexed
dcl_constantbuffer cb3[13], immediateIndexed
dcl_sampler s0, mode_default
dcl_sampler s1, mode_default
dcl_sampler s2, mode_default
dcl_sampler s3, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_resource_texture2d (float,float,float,float) t1
dcl_resource_texture2d (float,float,float,float) t2
dcl_resource_texture2d (float,float,float,float) t3
dcl_input vDomain.xy
dcl_input vicp[4][0].xyzw
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xyzw
dcl_output o3.xyzw
dcl_output o4.xyzw
dcl_output o5.xyzw
dcl_output o6.xyzw
dcl_output o7.xyzw

dcl_resource_texture2d (float,float,float,float) t125
dcl_temps 8

mul r0.xyz, cb0[10].xxxx, cb0[11].xyzx
add r1.xyzw, -vicp[3][0].xyzw, vicp[2][0].xyzw
mad r1.xyzw, vDomain.xxxx, r1.xyzw, vicp[3][0].xyzw
add r2.xyzw, -vicp[0][0].xyzw, vicp[1][0].xyzw
mad r2.xyzw, vDomain.xxxx, r2.xyzw, vicp[0][0].xyzw
add r1.xyzw, r1.xyzw, -r2.xyzw
mad r1.xyzw, vDomain.yyyy, r1.xyzw, r2.xyzw
add r2.xyz, -r1.xyzx, cb1[4].xyzx
dp3 r0.w, r2.xyzx, r2.xyzx
sqrt r0.w, r0.w
add r2.xyz, r0.wwww, -cb0[11].xyzx
div_sat r0.xyz, r2.xyzx, r0.xyzx
add r0.xyz, -r0.xyzx, l(1.000000, 1.000000, 1.000000, 0.000000)
div r2.xyz, l(1.000000, 1.000000, 1.000000, 1.000000), r0.xyzx
add r2.xyz, r2.xyzx, l(-1.000000, -1.000000, -1.000000, 0.000000)
add r3.xyzw, r1.xzxz, cb0[14].xzxz
div r4.xyzw, r3.zwzw, cb0[11].xxyy
div r3.xyzw, r3.xyzw, cb0[11].zzww
sample_l_indexable(texture2d)(float,float,float,float) r5.xyz, r4.zwzz, t1.xyzw, s1, r2.y
mul r5.xyz, r0.yyyy, r5.xyzx
sample_l_indexable(texture2d)(float,float,float,float) r2.xyw, r4.xyxx, t0.xywz, s0, r2.x
sample_l_indexable(texture2d)(float,float,float,float) r6.xyz, r3.xyxx, t2.xyzw, s2, r2.z
sample_l_indexable(texture2d)(float,float,float,float) r3.xyz, r3.zwzz, t3.xyzw, s3, l(0.000000)
mad r0.xyw, r2.xyxw, r0.xxxx, r5.xyxz
mad r0.xyz, r6.xyzx, r0.zzzz, r0.xywx
add r0.xyz, r3.xyzx, r0.xyzx
mad r0.xyz, r0.xyzx, cb0[14].wwww, r1.xyzx
mul r2.xyzw, r0.yyyy, cb3[10].xyzw
mad r2.xyzw, cb3[9].xyzw, r0.xxxx, r2.xyzw
mad r2.xyzw, cb3[11].xyzw, r0.zzzz, r2.xyzw
mad r2.xyzw, cb3[12].xyzw, r1.wwww, r2.xyzw
mov o0.xyzw, r2.xyzw

ld_indexable(texture2d)(float,float,float,float) r7.xyzw, l(0, 0, 0, 0), t125.xyzw
add r7.y, r2.w, -r7.y
mad r2.x, r7.x, r7.y, r2.x

mad o1.xy, r1.xzxx, cb0[77].xyxx, cb0[77].zwzz
mad o1.zw, r1.xxxz, cb0[76].xxxy, cb0[76].zzzw
add o2.xyz, r0.xyzx, -cb1[4].xyzx
mov o2.w, l(0)
mad o3.xyz, -r0.xyzx, cb2[0].wwww, cb2[0].xyzx
mov o4.yzw, r0.xxyz
mov o3.w, l(0)
mov o4.x, l(0)
mov o5.zw, r4.zzzw
mov o7.xy, r4.xyxx
mov o5.xy, l(0,0,0,0)
mul r0.x, r2.y, cb1[5].x
mul r0.w, r0.x, l(0.500000)
mul r0.xz, r2.xxwx, l(0.500000, 0.000000, 0.500000, 0.000000)
mov o6.zw, r2.zzzw
add o6.xy, r0.zzzz, r0.xwxx
mov o7.zw, l(0,0,0,0)
ret 
// Approximately 0 instruction slots used

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
