// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.198 on Sun May  3 01:02:28 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
// COLOR                    0   xyzw        1     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[24], immediateIndexed
dcl_resource_buffer (float,float,float,float) t125
dcl_input v0.xyz
dcl_input v1.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)
add r1.x, -r0.z, l(1.000000)
ld_indexable(buffer)(float,float,float,float) r1.yz, l(0, 0, 0, 0), t125.zxyw
mul r1.x, r1.x, r1.z
mad r1.x, -r1.x, l(0.333333343), l(1.000000)
dp4 r1.w, r0.xyzw, cb4[20].xyzw
add r1.w, r1.w, r1.w
mad r1.w, r1.w, cb4[22].x, l(-1.000000)
mad r1.x, r1.y, r1.x, r1.w
mad r1.z, -r1.z, l(0.003125), l(1.000000)
mad r1.y, r1.y, r1.z, r1.w
mov o1.x, r1.w
lt r1.z, l(0.600000), r0.z
dp4 r0.x, r0.xyzw, cb4[21].xyzw
add r0.x, r0.x, r0.x
mad r0.y, r0.x, -cb4[23].x, l(1.000000)
movc r2.x, r1.z, r1.x, r1.y
mad r0.zw, v0.zzzx, l(0.000000, 0.000000, 1.000000, 0.000000), l(0.000000, 0.000000, 0.000000, 1.000000)
mov r2.yzw, r0.yyzw
mov o1.yzw, r0.yyzw
mov_sat o2.xyzw, v1.xyzw
mov o3.xyzw, l(0,0,0,1.000000)
mov o4.xyzw, l(1.000000,0,0,0)
mov o5.xyzw, l(0,0,0,1.000000)
mov o6.xyzw, 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 32 instruction slots used

///////////////////////////////// HLSL Code /////////////////////////////////
// // ---- Created with geo-11 v0.6.198 on Sun May  3 01:02:28 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 : 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 = 1 + -r0.z;
//   r1.yz = StereoParams.Load(float4(0,0,0,0)).xy;
//   r1.x = r1.z * r1.x;
//   r1.x = -r1.x * 0.333333343 + 1;
//   r1.w = dot(r0.xyzw, cb4[20].xyzw);
//   r1.w = r1.w + r1.w;
//   r1.w = r1.w * cb4[22].x + -1;
//   r1.x = r1.y * r1.x + r1.w;
//   r1.z = -r1.z * 0.00312500005 + 1;
//   r1.y = r1.y * r1.z + r1.w;
//   o1.x = r1.w;
//   r1.z = cmp(0.600000024 < r0.z);
//   r0.x = dot(r0.xyzw, cb4[21].xyzw);
//   r0.x = r0.x + r0.x;
//   r0.y = r0.x * -cb4[23].x + 1;
//   r2.x = r1.z ? r1.x : r1.y;
//   r0.zw = v0.zx * float2(1,0) + float2(0,1);
//   r2.yzw = r0.yzw;
//   o1.yzw = r0.yzw;
//   o2.xyzw = saturate(v1.xyzw);
//   o3.xyzw = float4(0,0,0,1);
//   o4.xyzw = float4(1,0,0,0);
//   o5.xyzw = float4(0,0,0,1);
//   o6.xyzw = float4(0,0,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;
// }
/////////////////////////////////////////////////////////////////////////////
