//strategy map
// Generated by Microsoft (R) HLSL Shader Compiler 10.0.10011.16384
//
//   using 3Dmigoto v1.3.16 on Sat Aug 15 22:58:00 2020
//
//
// Buffer Definitions:
//
// cbuffer FOWGlobals
// {
//
//   row_major float4x4 g_ViewProjMatrix;// Index:    0 1 2 3          Components:    16
//   row_major float4x4 g_OverlaySamplingMatrix;// Index:    4 5 6 7          Components:    16 [unused]
//   float3 g_FOWTintColor;             // Index:    8.xyz            Components:     3 [unused]
//   float g_IntermediateExposure;      // Index:    8.w              Components:     1 [unused]
//   float4 g_ParchmentUVTransform;     // Index:    9.xyzw           Components:     4 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// FOWGlobals                        cbuffer      NA          NA    1        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xy          0     NONE   float   xy
// TEXCOORD                 0   xyzw        1     NONE   float
// COLOR                    0   xyzw        2     NONE   float
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD                 3   xyz         0     NONE   float   xyz
// SV_POSITION              0   xyzw        1      POS   float   xyzw
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb1[4], immediateIndexed
dcl_input v0.xy
dcl_output o0.xyz
dcl_output_siv o1.xyzw, position

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

mov r0.xy, v0.xyxx
mov r0.z, l(1.000000)
div o0.xyz, r0.xyzx, l(1.000000, 1.000000, 1.000000, 0.000000)
mul r0.xyzw, v0.yyyy, cb1[1].xyzw
mad r0.xyzw, v0.xxxx, cb1[0].xyzw, r0.xyzw
add r0.xyzw, r0.xyzw, cb1[2].xyzw
add r3.xyzw, r0.xyzw, cb1[3].xyzw


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

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

mov o1.xyzw, r3.xyzw

ret
// Approximately 8 instruction slots used
