// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.198 on Sun May  3 00:47:07 2026
//
//
// Buffer Definitions:
//
// cbuffer cb4
// {
//
//   float4 cb4[276];                   // Index:    0-275            Components:  1104
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// StereoParams                      texture  float4          2d  125        1
// cb4                               cbuffer      NA          NA    4        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE   float   xyz
// TEXCOORD                 0   xyzw        1     NONE   float   xy
// TEXCOORD                 1   xyzw        2     NONE   float   xy
// COLOR                    0   xyzw        3     NONE   float   xyzw
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// TEXCOORD                 8   xyzw        1     NONE   float   xyzw
// COLOR                    0   xyzw        2     NONE   float   xyzw
// COLOR                    1   xyzw        3     NONE   float   xyzw
// TEXCOORD                 9   xyzw        4     NONE   float   xyzw
// TEXCOORD                 0   xyzw        5     NONE   float   xyzw
// TEXCOORD                 1   xyzw        6     NONE   float   xyzw
// TEXCOORD                 2   xyzw        7     NONE   float   xyzw
// TEXCOORD                 3   xyzw        8     NONE   float   xyzw
// TEXCOORD                 4   xyzw        9     NONE   float   xyzw
// TEXCOORD                 5   xyzw       10     NONE   float   xyzw
// TEXCOORD                 6   xyzw       11     NONE   float   xyzw
// TEXCOORD                 7   xyzw       12     NONE   float   xyzw
// P                        0   x          13  RTINDEX    uint   x
//
vs_5_0
dcl_output_siv o13.x, rendertarget_array_index
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB4[25], immediateIndexed
dcl_resource_buffer (float,float,float,float) t125
dcl_input v0.xyz
dcl_input v1.xy
dcl_input v2.xy
dcl_input v3.xyzw
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xyzw
dcl_output o3.xyzw
dcl_output o4.xyzw
dcl_output o5.xyzw
dcl_output o6.xyzw
dcl_output o7.xyzw
dcl_output o8.xyzw
dcl_output o9.xyzw
dcl_output o10.xyzw
dcl_output o11.xyzw
dcl_output o12.xyzw
dcl_temps 5
ld_indexable(buffer)(float,float,float,float) r4.xyzw, l(0, 0, 0, 0), t125.xyzw
mov o13.x, r4.z
mad r0.xyzw, v0.xyzx, l(1.000000, 1.000000, 1.000000, 0.000000), l(0.000000, 0.000000, 0.000000, 1.000000)
dp4 r1.x, r0.xyzw, cb4[20].xyzw
add r1.x, r1.x, l(-0.500000)
add r1.x, r1.x, r1.x
mad r1.x, r1.x, cb4[23].x, l(-1.000000)
dp4 r1.z, r0.xyzw, cb4[22].xyzw
dp4 r0.x, r0.xyzw, cb4[21].xyzw
add r0.x, r0.x, l(-0.500000)
add r0.x, r0.x, r0.x
mad r1.y, r0.x, -cb4[24].x, l(1.000000)
add r0.x, -r1.z, l(1.000000)
ld_indexable(buffer)(float,float,float,float) r0.yz, l(0, 0, 0, 0), t125.zxyw
mul r0.x, r0.x, r0.z
mad r0.x, -r0.x, l(0.333333343), l(1.000000)
mad r0.x, r0.y, r0.x, r1.x
mad r0.z, -r0.z, l(0.003125), l(1.000000)
mad r0.y, r0.y, r0.z, r1.x
lt r0.z, l(0.600000), r1.z
movc r2.x, r0.z, r0.x, r0.y
mov r1.w, l(1.000000)
mov r2.yzw, r1.yyzw
mov o1.xyzw, r1.xyzw
mov_sat o2.xyzw, v3.xyzw
mov o3.xyzw, l(0,0,0,1.000000)
mov o4.xyzw, l(1.000000,0,0,0)
mul o5.xy, v1.xyxx, l(1.000000, -1.000000, 0.000000, 0.000000)
mov o5.zw, l(0,0,0,1.000000)
mul o6.xy, v2.xyxx, l(1.000000, -1.000000, 0.000000, 0.000000)
mov o6.zw, l(0,0,0,1.000000)
mov o7.xyzw, l(0,0,0,1.000000)
mov o8.xyzw, l(0,0,0,1.000000)
mov o9.xyzw, l(0,0,0,1.000000)
mov o10.xyzw, l(0,0,0,1.000000)
mov o11.xyzw, l(0,0,0,1.000000)
mov o12.xyzw, l(0,0,0,1.000000)
add r3.x, -r4.y, r2.w
mul r3.y, r4.x, r4.w
mad r3.x, r3.x, r3.y, r2.x
ne r3.y, l(1.000000), r2.w
movc r2.x, r3.y, r3.x, r2.x
mov o0.xyzw, r2.xyzw
ret
// Approximately 36 instruction slots used

///////////////////////////////// HLSL Code /////////////////////////////////
// // ---- Created with geo-11 v0.6.198 on Sun May  3 00:47:07 2026
//
// cbuffer cb4 : register(b4)
// {
//   float4 cb4[276] : packoffset(c0);
// }
//
//
//
// // 3Dmigoto declarations
// #define cmp -
// Texture1D<float4> IniParams : register(t120);
// Buffer<float4> StereoParams : register(t125);
//
//
// void main(
//   float4 v0 : POSITION0,
//   float4 v1 : TEXCOORD0,
//   float4 v2 : TEXCOORD1,
//   float4 v3 : COLOR0,
//   out float4 o0 : SV_POSITION0,
//   out float4 o1 : TEXCOORD8,
//   out float4 o2 : COLOR0,
//   out float4 o3 : COLOR1,
//   out float4 o4 : TEXCOORD9,
//   out float4 o5 : TEXCOORD0,
//   out float4 o6 : TEXCOORD1,
//   out float4 o7 : TEXCOORD2,
//   out float4 o8 : TEXCOORD3,
//   out float4 o9 : TEXCOORD4,
//   out float4 o10 : TEXCOORD5,
//   out float4 o11 : TEXCOORD6,
//   out float4 o12 : TEXCOORD7,
//   out uint o13 : P0)
// {
//   float4 r0,r1,r2,r3,r4;
//   uint4 bitmask, uiDest;
//   float4 fDest;
//
//   r4.xyzw = StereoParams.Load(float4(0,0,0,0)).xyzw;
//   o13.x = r4.z;
//   r0.xyzw = v0.xyzx * float4(1,1,1,0) + float4(0,0,0,1);
//   r1.x = dot(r0.xyzw, cb4[20].xyzw);
//   r1.x = -0.5 + r1.x;
//   r1.x = r1.x + r1.x;
//   r1.x = r1.x * cb4[23].x + -1;
//   r1.z = dot(r0.xyzw, cb4[22].xyzw);
//   r0.x = dot(r0.xyzw, cb4[21].xyzw);
//   r0.x = -0.5 + r0.x;
//   r0.x = r0.x + r0.x;
//   r1.y = r0.x * -cb4[24].x + 1;
//   r0.x = 1 + -r1.z;
//   r0.yz = StereoParams.Load(float4(0,0,0,0)).xy;
//   r0.x = r0.z * r0.x;
//   r0.x = -r0.x * 0.333333343 + 1;
//   r0.x = r0.y * r0.x + r1.x;
//   r0.z = -r0.z * 0.00312500005 + 1;
//   r0.y = r0.y * r0.z + r1.x;
//   r0.z = cmp(0.600000024 < r1.z);
//   r2.x = r0.z ? r0.x : r0.y;
//   r1.w = 1;
//   r2.yzw = r1.yzw;
//   o1.xyzw = r1.xyzw;
//   o2.xyzw = saturate(v3.xyzw);
//   o3.xyzw = float4(0,0,0,1);
//   o4.xyzw = float4(1,0,0,0);
//   o5.xy = float2(1,-1) * v1.xy;
//   o5.zw = float2(0,1);
//   o6.xy = float2(1,-1) * v2.xy;
//   o6.zw = float2(0,1);
//   o7.xyzw = float4(0,0,0,1);
//   o8.xyzw = float4(0,0,0,1);
//   o9.xyzw = float4(0,0,0,1);
//   o10.xyzw = float4(0,0,0,1);
//   o11.xyzw = float4(0,0,0,1);
//   o12.xyzw = float4(0,0,0,1);
//   r3.x = r2.w + -r4.y;
//   r3.y = r4.w * r4.x;
//   r3.x = r3.x * r3.y + r2.x;
//   r3.y = cmp(1.000000 != r2.w);
//   r2.x = r3.y ? r3.x : r2.x;
//   o0.xyzw = r2.xyzw;
//   return;
// }
/////////////////////////////////////////////////////////////////////////////
