//strategy map
// Generated by Microsoft (R) HLSL Shader Compiler 10.0.10011.16384
//
//   using 3Dmigoto v1.3.16 on Sat Aug 15 22:58:28 2020
//
//
// Buffer Definitions:
//
// cbuffer StrategicView_OverlayShaderDynamics
// {
//
//   row_major float4x4 WorldMatrix;    // Index:    0 1 2 3          Components:    16
//   row_major float4x4 TextureMatrix;  // Index:    4 5 6 7          Components:    16
//   float4 Colors[3];                  // Index:    8 9 10           Components:    12 [unused]
//   float4 SecondaryColors[3];         // Index:   11 12 13          Components:    12 [unused]
//   float3 Visibility;                 // Index:   14.xyz            Components:     3 [unused]
//   uint4 ChannelAssignmentBits;       // Index:   15.xyzw           Components:     4 [unused]
//   uint TerrainBlendIndex;            // Index:   16.x              Components:     1 [unused]
//   uint OverlayMaskIndex0;            // Index:   16.y              Components:     1 [unused]
//   uint OverlayMaskIndex1;            // Index:   16.z              Components:     1 [unused]
//   uint OverlayMaskIndex2;            // Index:   16.w              Components:     1 [unused]
//   uint OverlayMaskIndex3;            // Index:   17.x              Components:     1 [unused]
//   uint OverlayMaskIndex4;            // Index:   17.y              Components:     1 [unused]
//   uint OverlayMaskIndex5;            // Index:   17.z              Components:     1 [unused]
//   uint OverlayMaskIndex6;            // Index:   17.w              Components:     1 [unused]
//
// }
//
// cbuffer StrategicViewShaderGlobals
// {
//
//   row_major float4x4 ViewProjectionMatrix;// Index:    0 1 2 3          Components:    16
//   float4 TilingUVTransform;          // Index:    4.xyzw           Components:     4 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// StrategicView_OverlayShaderDynamics    cbuffer      NA          NA    0        1
// StrategicViewShaderGlobals        cbuffer      NA          NA    1        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyz         0     NONE   float   xyz
// NORMAL                   0   xyz         1     NONE   float
// TEXCOORD                 0   xy          2     NONE   float   xy
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// TEXCOORD                 0   xy          1     NONE   float   xy
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[8], immediateIndexed
dcl_constantbuffer cb1[4], immediateIndexed
dcl_input v0.xyz
dcl_input v2.xy
dcl_output_siv o0.xyzw, position
dcl_output o1.xy

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

mul r0.xyz, v0.yyyy, cb0[1].xyzx
mad r0.xyz, v0.xxxx, cb0[0].xyzx, r0.xyzx
mad r0.xyz, v0.zzzz, cb0[2].xyzx, r0.xyzx
add r0.xyz, r0.xyzx, cb0[3].xyzx
mad r0.xyz, r0.xyzx, l(10.000000, 10.000000, 10.000000, 0.000000), l(0.500000, 0.500000, 0.500000, 0.000000)
round_ni r0.xyz, r0.xyzx
mul r0.xyz, r0.xyzx, l(0.100000, 0.100000, 0.100000, 0.000000)
mul r1.xyzw, r0.yyyy, cb1[1].xyzw
mad r1.xyzw, r0.xxxx, cb1[0].xyzw, r1.xyzw
mad r0.xyzw, r0.zzzz, cb1[2].xyzw, r1.xyzw
add r2.xyzw, r0.xyzw, cb1[3].xyzw

ld_indexable(texture2d)(float,float,float,float) r3.xyzw, l(0, 0, 0, 0), t125.xyzw
ld_indexable(texture1d)(float,float,float,float) r4.xyzw, l(2, 0, 0, 0), t120.xyzw
ld_indexable(texture1d)(float,float,float,float) r5.xyzw, l(3, 0, 0, 0), t120.xyzw

if_z r5.w
mad r2.x, r3.x, r4.y, r2.x
endif

mov o0.xyzw, r2.xyzw


mul r0.xy, v2.yyyy, cb0[5].xyxx
mad r0.xy, v2.xxxx, cb0[4].xyxx, r0.xyxx
add o1.xy, r0.xyxx, cb0[7].xyxx
ret
// Approximately 15 instruction slots used
