// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.198 on Wed Sep  3 22:14:36 2025
//
//
// Buffer Definitions:
//
// cbuffer cb1
// {
//
//   float4 cb1[7];                     // Index:    0-6              Components:    28
//
// }
//
// cbuffer cb0
// {
//
//   float4 cb0[77];                    // Index:    0-76             Components:   308
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// cb0                               cbuffer      NA          NA    0        1
// cb1                               cbuffer      NA          NA    1        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyz         0     NONE   float   xyz
// NORMAL                   0   xyz         1     NONE   float   xyz
// TANGENT                  0   xyzw        2     NONE   float
// TEXCOORD                 0   xyzw        3     NONE   float   xyzw
// TEXCOORD                 1   xyzw        4     NONE   float   xyzw
// TEXCOORD                 2   xyzw        5     NONE   float   xyzw
// COLOR                    0   xyzw        6     NONE   float   xyzw
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// INTERP                   0   xyzw        1     NONE   float   xyzw
// INTERP                   1   xyzw        2     NONE   float   xyzw
// INTERP                   2   xyzw        3     NONE   float   xyzw
// INTERP                   3   xyzw        4     NONE   float   xyzw
// INTERP                   4   xyz         5     NONE   float   xyz
// INTERP                   5   xyz         6     NONE   float   xyz
// INTERP                   6   xyz         7     NONE   float   xyz
// P                        0   x           8  RTINDEX    uint   x
//
vs_5_0
dcl_resource_buffer (float,float,float,float) t125
dcl_output_siv o8.x, rendertarget_array_index
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB1[7], immediateIndexed
dcl_constantbuffer CB0[77], immediateIndexed
dcl_input v0.xyz
dcl_input v1.xyz
dcl_input v3.xyzw
dcl_input v4.xyzw
dcl_input v5.xyzw
dcl_input v6.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.xyz
dcl_output o6.xyz
dcl_output o7.xyz
dcl_temps 5
ld_indexable(buffer)(float,float,float,float) r4.xyzw, l(0, 0, 0, 0), t125.xyzw
mov o8.x, r4.z
mul r0.xyz, v0.yyyy, cb1[1].xyzx
mad r0.xyz, cb1[0].xyzx, v0.xxxx, r0.xyzx
mad r0.xyz, cb1[2].xyzx, v0.zzzz, r0.xyzx
add r0.xyz, r0.xyzx, cb1[3].xyzx
mul r1.xyzw, r0.yyyy, cb0[74].xyzw
mad r1.xyzw, cb0[73].xyzw, r0.xxxx, r1.xyzw
mad r1.xyzw, cb0[75].xyzw, r0.zzzz, r1.xyzw
add r2.xyzw, r1.xyzw, cb0[76].xyzw
mov o1.xyzw, v3.xyzw
mov o2.xyzw, v4.xyzw
mov o3.xyzw, v5.xyzw
mov o4.xyzw, v6.xyzw
mov o5.xyz, r0.xyzx
add r0.xyz, -r0.xyzx, cb0[16].xyzx
dp3 r1.x, v1.xyzx, cb1[4].xyzx
dp3 r1.y, v1.xyzx, cb1[5].xyzx
dp3 r1.z, v1.xyzx, cb1[6].xyzx
dp3 r0.w, r1.xyzx, r1.xyzx
max r0.w, r0.w, l(1.175494351E-38)
rsq r0.w, r0.w
mul o6.xyz, r0.wwww, r1.xyzx
eq r0.w, cb0[21].w, l(0.000000)
movc o7.x, r0.w, r0.x, cb0[61].z
movc o7.y, r0.w, r0.y, cb0[62].z
movc o7.z, r0.w, r0.z, cb0[63].z
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 26 instruction slots used

///////////////////////////////// HLSL Code /////////////////////////////////
// // ---- Created with geo-11 v0.6.198 on Wed Sep  3 22:14:36 2025
//
// cbuffer cb1 : register(b1)
// {
//   float4 cb1[7] : packoffset(c0);
// }
//
// cbuffer cb0 : register(b0)
// {
//   float4 cb0[77] : packoffset(c0);
// }
//
//
//
// // 3Dmigoto declarations
// #define cmp -
// Texture1D<float4> IniParams : register(t120);
// Buffer<float4> StereoParams : register(t125);
//
//
// void main(
//   float3 v0 : POSITION0,
//   float3 v1 : NORMAL0,
//   float4 v2 : TANGENT0,
//   float4 v3 : TEXCOORD0,
//   float4 v4 : TEXCOORD1,
//   float4 v5 : TEXCOORD2,
//   float4 v6 : COLOR0,
//   out float4 o0 : SV_POSITION0,
//   out float4 o1 : INTERP0,
//   out float4 o2 : INTERP1,
//   out float4 o3 : INTERP2,
//   out float4 o4 : INTERP3,
//   out float3 o5 : INTERP4,
//   out float3 o6 : INTERP5,
//   out float3 o7 : INTERP6,
//   out uint o8 : P0)
// {
//   float4 r0,r1,r2,r3,r4;
//   uint4 bitmask, uiDest;
//   float4 fDest;
//
//   r4.xyzw = StereoParams.Load(float4(0,0,0,0)).xyzw;
//   o8.x = r4.z;
//   r0.xyz = cb1[1].xyz * v0.yyy;
//   r0.xyz = cb1[0].xyz * v0.xxx + r0.xyz;
//   r0.xyz = cb1[2].xyz * v0.zzz + r0.xyz;
//   r0.xyz = cb1[3].xyz + r0.xyz;
//   r1.xyzw = cb0[74].xyzw * r0.yyyy;
//   r1.xyzw = cb0[73].xyzw * r0.xxxx + r1.xyzw;
//   r1.xyzw = cb0[75].xyzw * r0.zzzz + r1.xyzw;
//   r2.xyzw = cb0[76].xyzw + r1.xyzw;
//   o1.xyzw = v3.xyzw;
//   o2.xyzw = v4.xyzw;
//   o3.xyzw = v5.xyzw;
//   o4.xyzw = v6.xyzw;
//   o5.xyz = r0.xyz;
//   r0.xyz = cb0[16].xyz + -r0.xyz;
//   r1.x = dot(v1.xyz, cb1[4].xyz);
//   r1.y = dot(v1.xyz, cb1[5].xyz);
//   r1.z = dot(v1.xyz, cb1[6].xyz);
//   r0.w = dot(r1.xyz, r1.xyz);
//   r0.w = max(1.17549435e-38, r0.w);
//   r0.w = rsqrt(r0.w);
//   o6.xyz = r1.xyz * r0.www;
//   r0.w = cmp(cb0[21].w == 0.000000);
//   o7.x = r0.w ? r0.x : cb0[61].z;
//   o7.y = r0.w ? r0.y : cb0[62].z;
//   o7.z = r0.w ? r0.z : cb0[63].z;
//   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;
// }
/////////////////////////////////////////////////////////////////////////////
