// main menu- title graphics, circle around main character
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
//   using 3Dmigoto v1.2.56 on Mon Mar 20 12:00:53 2017
//
//
// Buffer Definitions: 
//
// cbuffer SceneBuffer
// {
//
//   float4x4 g_View;                   // Offset:    0 Size:    64 [unused]
//   float4x4 g_Proj;                   // Offset:   64 Size:    64 [unused]
//   float4x4 g_ViewProjection;         // Offset:  128 Size:    64
//   float4x4 g_ViewInverseMatrix;      // Offset:  192 Size:    64 [unused]
//
// }
//
// cbuffer EffectParameterIndex
// {
//
//   uint g_EffectParameterIndex;       // Offset:    0 Size:     4
//
// }
//
// Resource bind info for g_EffectVertexCommonBuffers
// {
//
//   struct EffectVertexCommonBuffer
//   {
//       
//       float4 m_WorldMatrixCol0;      // Offset:    0
//       float4 m_WorldMatrixCol1;      // Offset:   16
//       float4 m_WorldMatrixCol2;      // Offset:   32
//       float4 m_MaterialColor;        // Offset:   48
//       float4 m_UvOffSet;             // Offset:   64
//       float4 m_UvTile;               // Offset:   80
//       float4 m_UvOffsetTile2;        // Offset:   96
//       float4 m_UvRoll;               // Offset:  112
//       float4 m_TexBlend;             // Offset:  128
//       float4 m_Shadow;               // Offset:  144
//
//   } $Element;                        // Offset:    0 Size:   160
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// g_EffectVertexCommonBuffers       texture  struct         r/o   27        1
// SceneBuffer                       cbuffer      NA          NA    0        1
// EffectParameterIndex              cbuffer      NA          NA    1        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE   float   xyz 
// TEXCOORD                 0   xy          1     NONE   float   xy  
//
//
// 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
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[12], immediateIndexed
dcl_constantbuffer cb1[1], immediateIndexed
dcl_resource_structured t27, 160 
dcl_input v0.xyz
dcl_input v1.xy
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xyzw

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

ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r0.xyzw, cb1[0].x, l(0), t27.xyzw
mov r1.xyz, v0.xyzx
mov r1.w, l(1.000000)
dp4 r0.x, r1.xyzw, r0.xyzw
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r2.xyzw, cb1[0].x, l(16), t27.xyzw
dp4 r0.y, r1.xyzw, r2.xyzw
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r2.xyzw, cb1[0].x, l(32), t27.xyzw
dp4 r0.z, r1.xyzw, r2.xyzw
mov r0.w, l(1.000000)
dp4 r5.x, r0.xyzw, cb0[8].xyzw
dp4 r5.y, r0.xyzw, cb0[9].xyzw
dp4 r5.z, r0.xyzw, cb0[10].xyzw
dp4 r5.w, r0.xyzw, cb0[11].xyzw

mov r7.xyzw, r5.xyzw

//mul r5.x, r5.x, l(1.000000)
//mov r5.xyzw, r7.xyzw


ld_indexable(texture2d)(float,float,float,float) r4.xyzw, l(0, 0, 0, 0), t125.xyzw
ld_indexable(texture1d)(float,float,float,float) r6.xyzw, l(2, 0, 0, 0), t120.xyzw

if_nz r6.x
add r4.y, r5.w, -r4.y
mad r5.x, r4.x, -r4.y, r5.x

//add r4.y, r5.w, -l(1.000000)
//mad r5.x, r4.x, r4.y, r5.x
endif

mov o0.xyzw, r5.xyzw

ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) o1.xyzw, cb1[0].x, l(48), t27.xyzw
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r0.xy, cb1[0].x, l(128), t27.xyxx
add r0.xy, r0.xyxx, l(0.500000, 0.500000, 0.000000, 0.000000)
lt r0.zw, l(0.000000, 0.000000, 0.000000, 0.000000), r0.xxxy
lt r0.xy, r0.xyxx, l(0.000000, 0.000000, 0.000000, 0.000000)
iadd r0.xy, r0.xyxx, -r0.zwzz
itof r0.xy, r0.xyxx
mov_sat r0.xy, r0.xyxx
add r1.xyzw, -v1.xyxy, l(1.000000, 1.000000, 1.000000, 1.000000)
mad r2.xyzw, v1.yxyx, l(1.000000, -1.000000, 1.000000, -1.000000), l(0.000000, 1.000000, 0.000000, 1.000000)
add r2.xyzw, r2.xyzw, -v1.xyxy
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r0.zw, cb1[0].x, l(112), t27.xxxy
mov_sat r3.xyzw, r0.zzww
mad r2.xyzw, r3.xyzw, r2.xyzw, v1.xyxy
add r1.xyzw, r1.xyzw, -r2.xyzw
add_sat r3.xyzw, r0.zzzw, l(-1.000000, -2.000000, -3.000000, -1.000000)
add_sat r0.zw, r0.wwww, l(0.000000, 0.000000, -2.000000, -3.000000)
mad r1.xyzw, r3.xxww, r1.xyzw, r2.xyzw
mad r2.xy, v1.yxyy, l(-1.000000, 1.000000, 0.000000, 0.000000), l(1.000000, 0.000000, 0.000000, 0.000000)
add r2.zw, -r1.xxxy, r2.xxxy
add r2.xy, -r1.zwzz, r2.xyxx
mad r1.zw, r0.zzzz, r2.xxxy, r1.zzzw
mad r1.xy, r3.yyyy, r2.zwzz, r1.xyxx
add r2.xy, -r1.xyxx, v1.xyxx
mad r1.xy, r3.zzzz, r2.xyxx, r1.xyxx
add r1.xy, r1.xyxx, -v1.xyxx
mad r2.xy, r0.xxxx, r1.xyxx, v1.xyxx
add r0.xz, -r1.zzwz, v1.xxyx
mad r0.xz, r0.wwww, r0.xxzx, r1.zzwz
add r0.xz, r0.xxzx, -v1.xxyx
mad r2.zw, r0.yyyy, r0.xxxz, v1.xxxy
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r0.xyzw, cb1[0].x, l(80), t27.xyzw
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r1.xyzw, cb1[0].x, l(64), t27.xyzw
mad o2.xyzw, r2.xyzw, r0.xyzw, r1.xyzw
ret 
// Approximately 48 instruction slots used

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