// MANUALLY DUMPED [ShaderRegexHalo2] Exception for decals.
//
// Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
//
//   using 3Dmigoto v1.3.16 on Fri Feb 05 20:32:35 2021
//
//
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
//   float4 vViewedPortPrm;             // Index:    0.xyzw           Components:     4
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// $Globals                          cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_VertexID              0   x           0   VERTID    uint   x
//
//
// 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[1], immediateIndexed
dcl_input_sgv v0.x, vertex_id
dcl_output_siv o0.xyzw, position

dcl_output o1.xyzw
dcl_output o2.xyzw
dcl_temps 3
dcl_resource_texture2d (float,float,float,float) t125
ushr r0.x, v0.x, l(1)
utof r0.x, r0.x
mad r0.x, r0.x, l(2.000000), l(-1.000000)
and r1.x, v0.x, l(1)
utof r1.x, r1.x
mad r0.y, r1.x, l(-2.000000), l(1.000000)
mov r0.zw, l(0,0,0,1.000000)

mov o0.xyzw, r0.xyzw

//ld_indexable(texture2d)(float,float,float,float) r2.xyzw, l(0, 0, 0, 0), t125.xyzw
//add r2.w, r0.w, -r2.y
//mad r0.x, r2.x, r2.w, r0.x
mov o1.xyzw, r0.xyzw
mov o2.xyzw, cb0[0].xyzw
ret
// Approximately 11 instruction slots used
