// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.89 on Mon Dec 26 00:11:14 2022
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// StereoParams                      texture  float4          2d  125        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position              0   xyzw        0      POS   float
// TEXCOORD                 0   xy          1     NONE   float
// TEXCOORD                 1     zw        1     NONE   float
// POSITION                 0   xyz         2     NONE   float
// MASK                     0      w        2     NONE   float      w
// POSITION                 1   xyzw        3     NONE   float   xy w
// POSITION                 2   xyzw        4     NONE   float   xy w
// STYLES                   0   xyzw        5     NONE   float
// PLANE                    0   xyzw        6     NONE   float
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                1   xyzw        1   TARGET   float   xy
// SV_Target                2   x           2   TARGET   float   x
//
ps_4_0
dcl_resource_buffer (float,float,float,float) t125
dcl_input_ps linear v2.w
dcl_input_ps linear v3.xyw
dcl_input_ps linear v4.xyw
dcl_output o1.xy
dcl_output o2.x
dcl_temps 2
ld r0.xyzw, l(2, 0, 0, 0), t125.xyzw
add r0.y, -r0.y, v4.w
mad r0.y, r0.x, r0.y, v4.x
lt r0.x, l(5.000000), r0.x
ld r1.xyzw, l(0, 0, 0, 0), t125.xyzw
add r0.z, -r1.y, v4.w
mad r0.z, r1.x, r0.z, v4.x
movc r0.x, r0.x, r0.z, r0.y
mov r0.y, v4.y
div r0.xy, r0.xyxx, v4.wwww
add r1.y, -r1.y, v3.w
mad r1.z, r1.x, r1.y, v3.x
mov r1.w, v3.y
div r0.zw, r1.zzzw, v3.wwww
add r0.xy, -r0.xwxx, r0.zyzz
mad r0.xy, r0.xyxx, l(0.500000, 0.500000, 0.000000, 0.000000), l(0.500000, 0.500000, 0.000000, 0.000000)
mul r0.zw, r0.xxxy, r0.xxxy
mul o1.xy, r0.zwzz, r0.xyxx
mov o2.x, v2.w
ret
// Approximately 20 instruction slots used
