// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.89 on Wed Dec 21 12:57:04 2022
//
//
// Buffer Definitions:
//
// cbuffer Constants
// {
//
//   float4 cxadd;                      // Index:    0.xyzw           Components:     4
//   float4 cxmul;                      // Index:    1.xyzw           Components:     4
//   float4 mvp[2];                     // Index:    2 3              Components:     8
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// IniParams                         texture  float4          1d  120        1
// StereoParams                      texture  float4          2d  125        1
// Constants                         cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD                 0   xy          0     NONE   float   xy
// SV_Position              0   xyzw        1     NONE   float   xyzw
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD                 0   xyzw        0     NONE   float   xyzw
// TEXCOORD                 1   xyzw        1     NONE   float   xyzw
// TEXCOORD                 2   xy          2     NONE   float   xy
// SV_Position              0   xyzw        3      POS   float   xyzw
// P                        0   x           4  RTINDEX    uint   x
//
vs_5_0
dcl_output_siv o4.x, rendertarget_array_index
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[4], immediateIndexed
dcl_resource_texture1d (float,float,float,float) t120
dcl_resource_buffer (float,float,float,float) t125
dcl_input v0.xy
dcl_input v1.xyzw
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output_siv o3.xyzw, position
dcl_temps 4
ld_indexable(buffer)(float,float,float,float) r3.xyzw, l(0, 0, 0, 0), t125.xyzw
mov o4.x, r3.z
mov o0.xyzw, cb0[0].xyzw
mov o1.xyzw, cb0[1].xyzw
mov o2.xy, v0.xyxx
ld_indexable(texture1d)(float,float,float,float) r0.x, l(3, 0, 0, 0), t120.wxyz
ne r0.x, r0.x, l(10.000000)
ld_indexable(buffer)(float,float,float,float) r0.y, l(0, 0, 0, 0), t125.yxzw
ld_indexable(texture1d)(float,float,float,float) r0.z, l(10, 0, 0, 0), t120.yzxw
dp4 r0.w, v1.xyzw, cb0[2].xyzw
mad r0.y, r0.y, r0.z, r0.w
movc r1.x, r0.x, r0.y, r0.w
dp4 r1.y, v1.xyzw, cb0[3].xyzw
mov r1.zw, l(0,0,0,1.000000)
add r2.x, -r3.y, r1.w
mul r2.y, r3.x, r3.w
mad r2.x, r2.x, r2.y, r1.x
ne r2.y, l(1.000000), r1.w
movc r1.x, r2.y, r2.x, r1.x
mov o3.xyzw, r1.xyzw
ret
// Approximately 13 instruction slots used
