// MANUALLY DUMPED [ShaderRegex\ShaderFixes\regex.ini\Halo_CB0_3_r0]
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.0.10011.16384
//
//   using 3Dmigoto v1.3.16 on Mon Aug 17 12:34:36 2020
//
//
// Buffer Definitions:
//
// cbuffer MinimapDynamics
// {
//
//   row_major float4x4 g_mTransform;   // Index:    0 1 2 3          Components:    16 [unused]
//   float4 g_vColor;                   // Index:    4.xyzw           Components:     4 [unused]
//   float4 g_vBorderColor;             // Index:    5.xyzw           Components:     4 [unused]
//   float2 g_vCenter;                  // Index:    6.xy             Components:     2
//   float2 g_vScale;                   // Index:    6.zw             Components:     2
//   float g_fPixelSize;                // Index:    7.x              Components:     1 [unused]
//   float g_fBorderScale;              // Index:    7.y              Components:     1 [unused]
//
// }
//
// cbuffer MinimapGlobals
// {
//
//   row_major float4x4 g_mViewProj;    // Index:    0 1 2 3          Components:    16
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// MinimapDynamics                   cbuffer      NA          NA    0        1
// MinimapGlobals                    cbuffer      NA          NA    1        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyz         0     NONE   float   xy
// 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   xy          1     NONE   float   xy
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[7], immediateIndexed
dcl_constantbuffer cb1[4], immediateIndexed
dcl_input v0.xy
dcl_input v1.xy
dcl_output_siv o0.xyzw, position
dcl_output o1.xy
dcl_temps 3
dcl_constantbuffer cb12[0], immediateIndexed
dcl_resource_texture2d (float,float,float,float) t125
mul r0.xyzw, cb0[6].yyyy, cb1[1].xyzw
mad r0.xyzw, cb0[6].xxxx, cb1[0].xyzw, r0.xyzw
add r0.xyzw, r0.xyzw, cb1[3].xyzw
ld_indexable(texture2d)(float,float,float,float) r1.xyzw, l(0, 0, 0, 0), t125.xyzw
add r2.x, r0.w, -r1.y
mad r0.x, r1.x, r2.x, r0.x
mad o0.xy, v0.xyxx, cb0[6].zwzz, r0.xyxx
mov o0.zw, r0.zzzw
mov o1.xy, v1.xyxx
ret
// Approximately 7 instruction slots used
