// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.164 on Sun Jun 14 12:29:29 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   xyzw
// TEXCOORD                 0   xyzw        1     NONE   float   xy
// COLOR                    0   xyzw        2     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[27], immediateIndexed
dcl_resource_buffer (float,float,float,float) t125
dcl_input v0.xyzw
dcl_input v1.xy
dcl_input v2.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 4
ld_indexable(buffer)(float,float,float,float) r3.xyzw, l(0, 0, 0, 0), t125.xyzw
mov o13.x, r3.z
ld_indexable(buffer)(float,float,float,float) r0.xy, l(0, 0, 0, 0), t125.xyzw
mul r0.x, r0.y, r0.x
dp4 r0.y, cb4[20].xyzw, v0.xyzw
mad r1.x, r0.x, l(0.999500), r0.y
mov o1.x, r0.y
dp4 r0.x, cb4[23].xyzw, v0.xyzw
mul r0.zw, r0.xxxx, l(0.000000, 0.000000, 0.999900, 1.000000)
dp4 r0.y, cb4[21].xyzw, v0.xyzw
mov r1.yzw, r0.yyzw
mov o1.yzw, r0.yyzw
mul r0.xyz, v2.yyyy, cb4[25].xyzx
mad r0.xyz, cb4[24].xyzx, v2.xxxx, r0.xyzx
mad o2.xyz, cb4[26].xyzx, v2.zzzz, r0.xyzx
mul o2.w, v2.w, cb4[24].w
mov o3.xyzw, l(0,0,0,1.000000)
mov o4.xyzw, l(1.000000,0,0,0)
mov r0.xy, v1.xyxx
mov r0.zw, l(0,0,0,1.000000)
mov o5.xyzw, r0.xyzw
mov o6.xyzw, r0.xyzw
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 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 o0.xyzw, r1.xyzw
ret
// Approximately 27 instruction slots used

///////////////////////////////// HLSL Code /////////////////////////////////
// // ---- Created with 3Dmigoto v0.6.164 on Sun Jun 14 12:29:29 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 : 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;
//   uint4 bitmask, uiDest;
//   float4 fDest;
//
//   r3.xyzw = StereoParams.Load(float4(0,0,0,0)).xyzw;
//   o13.x = r3.z;
//   r0.xy = StereoParams.Load(float4(0,0,0,0)).xy;
//   r0.x = r0.x * r0.y;
//   r0.y = dot(cb4[20].xyzw, v0.xyzw);
//   r1.x = r0.x * 0.999499977 + r0.y;
//   o1.x = r0.y;
//   r0.x = dot(cb4[23].xyzw, v0.xyzw);
//   r0.zw = float2(0.999899983,1) * r0.xx;
//   r0.y = dot(cb4[21].xyzw, v0.xyzw);
//   r1.yzw = r0.yzw;
//   o1.yzw = r0.yzw;
//   r0.xyz = cb4[25].xyz * v2.yyy;
//   r0.xyz = cb4[24].xyz * v2.xxx + r0.xyz;
//   o2.xyz = cb4[26].xyz * v2.zzz + r0.xyz;
//   o2.w = cb4[24].w * v2.w;
//   o3.xyzw = float4(0,0,0,1);
//   o4.xyzw = float4(1,0,0,0);
//   r0.xy = v1.xy;
//   r0.zw = float2(0,1);
//   o5.xyzw = r0.xyzw;
//   o6.xyzw = r0.xyzw;
//   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);
//   r2.x = r1.w + -r3.y;
//   r2.y = r3.w * r3.x;
//   r2.x = r2.x * r2.y + r1.x;
//   r2.y = cmp(1.000000 != r1.w);
//   r1.x = r2.y ? r2.x : r1.x;
//   o0.xyzw = r1.xyzw;
//   return;
// }
/////////////////////////////////////////////////////////////////////////////
