// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.198 on Wed Oct 21 23:13:11 2026
//
//
// Buffer Definitions:
//
// cbuffer cb1
// {
//
//   float4 cb1[7];                     // Index:    0-6              Components:    28
//
// }
//
// cbuffer cb0
// {
//
//   float4 cb0[80];                    // Index:    0-79             Components:   320
//
// }
//
//
// 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   xy
// COLOR                    0   xyzw        5     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
// P                        0   x           4  RTINDEX    uint   x
//
vs_4_0
dcl_resource_buffer (float,float,float,float) t125
dcl_output_siv o4.x, rendertarget_array_index
dcl_constantbuffer CB1[7], immediateIndexed
dcl_constantbuffer CB0[80], immediateIndexed
dcl_input v0.xyz
dcl_input v1.xyz
dcl_input v3.xyzw
dcl_input v4.xy
dcl_input v5.xyzw
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xyzw
dcl_output o3.xyzw
dcl_temps 5
ld_indexable(buffer)(float,float,float,float) r4.xyzw, l(0, 0, 0, 0), t125.xyzw
mov o4.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[77].xyzw
mad r1.xyzw, cb0[76].xyzw, r0.xxxx, r1.xyzw
mad r1.xyzw, cb0[78].xyzw, r0.zzzz, r1.xyzw
mov o2.xyz, r0.xyzx
add r2.xyzw, r1.xyzw, cb0[79].xyzw
mov o1.xyzw, v5.xyzw
mad r0.xy, v3.xyxx, v4.xyxx, v3.zwzz
mov o2.w, r0.x
mov o3.w, r0.y
dp3 r0.x, v1.xyzx, cb1[4].xyzx
dp3 r0.y, v1.xyzx, cb1[5].xyzx
dp3 r0.z, v1.xyzx, cb1[6].xyzx
dp3 r0.w, r0.xyzx, r0.xyzx
max r0.w, r0.w, l(1.175494351E-38)
rsq r0.w, r0.w
mul o3.xyz, r0.wwww, r0.xyzx
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 21 instruction slots used

///////////////////////////////// HLSL Code /////////////////////////////////
// // ---- Created with geo-11 v0.6.198 on Wed Oct 21 23:13:11 2026
//
// cbuffer cb1 : register(b1)
// {
//   float4 cb1[7] : packoffset(c0);
// }
//
// cbuffer cb0 : register(b0)
// {
//   float4 cb0[80] : 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 : COLOR0,
//   out float4 o0 : SV_POSITION0,
//   out float4 o1 : INTERP0,
//   out float4 o2 : INTERP1,
//   out float4 o3 : INTERP2,
//   out uint o4 : P0)
// {
//   float4 r0,r1,r2,r3,r4;
//   uint4 bitmask, uiDest;
//   float4 fDest;
//
//   r4.xyzw = StereoParams.Load(float4(0,0,0,0)).xyzw;
//   o4.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[77].xyzw * r0.yyyy;
//   r1.xyzw = cb0[76].xyzw * r0.xxxx + r1.xyzw;
//   r1.xyzw = cb0[78].xyzw * r0.zzzz + r1.xyzw;
//   o2.xyz = r0.xyz;
//   r2.xyzw = cb0[79].xyzw + r1.xyzw;
//   o1.xyzw = v5.xyzw;
//   r0.xy = v3.xy * v4.xy + v3.zw;
//   o2.w = r0.x;
//   o3.w = r0.y;
//   r0.x = dot(v1.xyz, cb1[4].xyz);
//   r0.y = dot(v1.xyz, cb1[5].xyz);
//   r0.z = dot(v1.xyz, cb1[6].xyz);
//   r0.w = dot(r0.xyz, r0.xyz);
//   r0.w = max(1.17549435e-38, r0.w);
//   r0.w = rsqrt(r0.w);
//   o3.xyz = r0.xyz * r0.www;
//   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;
// }
/////////////////////////////////////////////////////////////////////////////
