// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.164 on Fri Mar 27 01:52:33 2026
//
//
// Buffer Definitions:
//
// cbuffer cb3
// {
//
//   float4 cb3[26];                    // Offset:    0 Size:   416
//
// }
//
// cbuffer cb2
// {
//
//   float4 cb2[22];                    // Offset:    0 Size:   352
//
// }
//
// cbuffer cb1
// {
//
//   float4 cb1[8];                     // Offset:    0 Size:   128
//
// }
//
// cbuffer cb0
// {
//
//   float4 cb0[16];                    // Offset:    0 Size:   256
//
// }
//
// cbuffer cb13
// {
//
//   float4 cb13[26];                   // Offset:    0 Size:   416
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// s0_s                              sampler      NA          NA    0        1
// s1_s                              sampler      NA          NA    1        1
// s2_s                              sampler      NA          NA    2        1
// s3_s                            sampler_c      NA          NA    3        1
// s4_s                              sampler      NA          NA    4        1
// s5_s                              sampler      NA          NA    5        1
// s6_s                              sampler      NA          NA    6        1
// t0                                texture  float4          2d    0        1
// t1                                texture  float4          2d    1        1
// t2                                texture  float4          2d    2        1
// t3                                texture  float4          2d    3        1
// t4                                texture  float4          2d    4        1
// t5                                texture  float4          2d    5        1
// t6                                texture  float4          2d    6        1
// StereoParams                      texture  float4          2d  125        1
// cb0                               cbuffer      NA          NA    0        1
// cb1                               cbuffer      NA          NA    1        1
// cb2                               cbuffer      NA          NA    2        1
// cb3                               cbuffer      NA          NA    3        1
// cb13                              cbuffer      NA          NA   13        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float
// TEXCOORD                 0   xyzw        1     NONE   float   xy w
// TEXCOORD                 1   xyz         2     NONE   float   xyz
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//
ps_4_0
dcl_constantbuffer CB3[26], immediateIndexed
dcl_constantbuffer CB2[22], immediateIndexed
dcl_constantbuffer CB1[8], immediateIndexed
dcl_constantbuffer CB0[16], immediateIndexed
dcl_constantbuffer CB13[20], immediateIndexed
dcl_sampler s0, mode_default
dcl_sampler s1, mode_default
dcl_sampler s2, mode_default
dcl_sampler s3, mode_comparison
dcl_sampler s4, mode_default
dcl_sampler s5, mode_default
dcl_sampler s6, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_resource_texture2d (float,float,float,float) t1
dcl_resource_texture2d (float,float,float,float) t2
dcl_resource_texture2d (float,float,float,float) t3
dcl_resource_texture2d (float,float,float,float) t4
dcl_resource_texture2d (float,float,float,float) t5
dcl_resource_texture2d (float,float,float,float) t6
dcl_resource_buffer (float,float,float,float) t125
dcl_input_ps linear v1.xyw
dcl_input_ps linear v2.xyz
dcl_output o0.xyzw
dcl_temps 10
ld r0.xyzw, l(0, 0, 0, 0), t125.xyzw
div r0.z, cb1[5].z, v2.z
mul r1.xyz, r0.zzzz, v2.xyzx
div r0.zw, v1.xxxy, v1.wwww
sample r2.xyzw, r0.zwzz, t0.xyzw, s0
mad r1.w, cb1[7].x, r2.x, cb1[7].y
div r1.w, l(1.000000, 1.000000, 1.000000, 1.000000), r1.w
mul r2.xyz, r1.wwww, r1.xyzx
mul r1.x, cb13[18].x, cb13[18].x
mad r1.x, cb13[17].x, cb13[17].x, r1.x
mad r1.x, cb13[19].x, cb13[19].x, r1.x
rsq r1.x, r1.x
mad r0.y, r1.z, r1.w, -r0.y
mul r0.x, r0.y, r0.x
mad r0.x, -r0.x, r1.x, r2.x
mul r2.xyw, r2.yyyy, cb2[19].xyxz
mad r2.xyw, cb2[18].xyxz, r0.xxxx, r2.xyxw
mad r2.xyw, cb2[20].xyxz, r2.zzzz, r2.xyxw
add r2.xyw, r2.xyxw, cb2[21].xyxz
add r3.xyz, r2.xywx, -cb3[25].xyzx
dp3 r0.x, r3.xyzx, r3.xyzx
sqrt r0.x, r0.x
mad r0.x, -r1.z, r1.w, r0.x
mad r0.x, cb3[25].w, r0.x, r2.z
add r1.xyz, -r2.xywx, cb0[4].xyzx
dp3 r0.y, r1.xyzx, r1.xyzx
rsq r1.w, r0.y
mul r3.xyz, r1.xyzx, r1.wwww
mul r4.xyz, r2.yyyy, cb0[8].xywx
mad r4.xyz, cb0[7].xywx, r2.xxxx, r4.xyzx
mad r4.xyz, cb0[9].xywx, r2.wwww, r4.xyzx
add r4.xyz, r4.xyzx, cb0[10].xywx
div r4.xy, r4.xyxx, r4.zzzz
sample_b r5.xyzw, r4.xyxx, t1.xyzw, s2, l(-8.000000)
lt r2.z, r4.z, l(0.000000)
and r2.z, r2.z, l(0x3f800000)
mul r2.z, r2.z, r5.w
mul r0.y, r0.y, cb0[4].w
sample r4.xyzw, r0.yyyy, t2.xyzw, s1
mul r0.y, r2.z, r4.x
mad_sat r0.x, r0.x, cb3[24].z, cb3[24].w
lt r2.z, r0.x, l(0.990000)
if_nz r2.z
  mul r4.xyzw, r2.yyyy, cb3[9].xyzw
  mad r4.xyzw, cb3[8].xyzw, r2.xxxx, r4.xyzw
  mad r4.xyzw, cb3[10].xyzw, r2.wwww, r4.xyzw
  add r4.xyzw, r4.xyzw, cb3[11].xyzw
  div r4.xyz, r4.xyzx, r4.wwww
  mad r5.xyz, r4.xyxx, cb0[15].zwzz, l(0.500000, 0.500000, 0.500000, 0.000000)
  round_ni r5.xyz, r5.xyzx
  mad r4.xy, r4.xyxx, cb0[15].zwzz, -r5.zyzz
  add r6.xyzw, r4.xxyy, l(0.500000, 1.000000, 0.500000, 1.000000)
  mul r7.xw, r6.xxxz, r6.xxxz
  mad r6.xz, r7.xxwx, l(0.500000, 0.000000, 0.500000, 0.000000), -r4.xxyx
  add r8.xy, -r4.xyxx, l(1.000000, 1.000000, 0.000000, 0.000000)
  min r8.zw, r4.xxxy, l(0.000000, 0.000000, 0.000000, 0.000000)
  mad r8.xy, -r8.zwzz, r8.zwzz, r8.xyxx
  max r4.xy, r4.xyxx, l(0.000000, 0.000000, 0.000000, 0.000000)
  mad r4.xy, -r4.xyxx, r4.xyxx, r6.ywyy
  mov r9.x, r6.x
  mov r9.y, r8.x
  mov r9.z, r4.x
  mov r9.w, r7.x
  mul r9.xyzw, r9.xyzw, l(0.444440, 0.444440, 0.444440, 0.222220)
  mov r7.x, r6.z
  mov r7.y, r8.y
  mov r7.z, r4.y
  mul r6.xyzw, r7.xyzw, l(0.444440, 0.444440, 0.444440, 0.222220)
  add r7.xyzw, r9.ywyw, r9.xzxz
  add r8.xyzw, r6.yyww, r6.xxzz
  div r4.xy, r9.ywyy, r7.zwzz
  add r4.xy, r4.xyxx, l(-1.500000, 0.500000, 0.000000, 0.000000)
  div r6.xy, r6.ywyy, r8.ywyy
  add r6.xy, r6.xyxx, l(-1.500000, 0.500000, 0.000000, 0.000000)
  mul r9.xy, r4.xyxx, cb0[15].xxxx
  mul r9.zw, r6.xxxy, cb0[15].yyyy
  mul r6.xyzw, r7.xyzw, r8.xyzw
  mad r4.xyw, r5.zyzz, cb0[15].xyxx, r9.xzxy
  sample_c_lz r2.z, r4.xyxx, t6.xxxx, s3, r4.z
  sample_c_lz r3.w, r4.wyww, t6.xxxx, s3, r4.z
  mul r3.w, r3.w, r6.y
  mad r2.z, r6.x, r2.z, r3.w
  mad r4.xyw, r5.xyxz, cb0[15].xyxx, r9.xwxy
  sample_c_lz r3.w, r4.xyxx, t6.xxxx, s3, r4.z
  mad r2.z, r6.z, r3.w, r2.z
  sample_c_lz r3.w, r4.wyww, t6.xxxx, s3, r4.z
  mad r2.z, r6.w, r3.w, r2.z
  add r3.w, -cb3[24].x, l(1.000000)
  mad r2.z, r2.z, r3.w, cb3[24].x
else
  mov r2.z, l(1.000000)
endif
add r3.w, -r2.z, l(1.000000)
mad r0.x, r0.x, r3.w, r2.z
mul r0.x, r0.x, r0.y
mul r4.xyz, r0.xxxx, cb0[5].xyzx
sample r5.xyzw, r0.zwzz, t3.xyzw, s4
sample r6.xyzw, r0.zwzz, t4.xyzw, s5
sample r0.xyzw, r0.zwzz, t5.xyzw, s6
mad r0.xyz, r0.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
dp3 r0.w, r0.xyzx, r0.xyzx
rsq r0.w, r0.w
mul r0.xyz, r0.wwww, r0.xyzx
add r2.xyz, r2.xywx, -cb1[4].xyzx
dp3 r0.w, r2.xyzx, r2.xyzx
rsq r0.w, r0.w
mul r2.xyz, r0.wwww, r2.xyzx
add r7.xyzw, -r6.wxyz, l(1.000000, 1.000000, 1.000000, 1.000000)
mad r1.xyz, r1.wwww, r1.xyzx, -r2.xyzx
dp3 r0.w, r1.xyzx, r1.xyzx
max r0.w, r0.w, l(0.001000)
rsq r0.w, r0.w
mul r1.xyz, r0.wwww, r1.xyzx
dp3 r0.w, r0.xyzx, -r2.xyzx
dp3_sat r2.x, r0.xyzx, r3.xyzx
dp3_sat r0.x, r0.xyzx, r1.xyzx
dp3_sat r0.y, r3.xyzx, r1.xyzx
mul r0.z, r0.y, r0.y
dp2 r0.z, r0.zzzz, r7.xxxx
add r0.z, r0.z, l(-0.500000)
add r1.x, -r2.x, l(1.000000)
mul r1.y, r1.x, r1.x
mul r1.y, r1.y, r1.y
mul r1.x, r1.x, r1.y
mad r1.x, r0.z, r1.x, l(1.000000)
add r1.y, -|r0.w|, l(1.000000)
mul r1.z, r1.y, r1.y
mul r1.z, r1.z, r1.z
mul r1.y, r1.y, r1.z
mad r0.z, r0.z, r1.y, l(1.000000)
mul r1.x, r0.z, r1.x
mul r0.z, r7.x, r7.x
max r0.z, r0.z, l(0.002000)
add r1.z, -r0.z, l(1.000000)
mad r1.w, |r0.w|, r1.z, r0.z
mad r1.z, r2.x, r1.z, r0.z
mul r0.w, |r0.w|, r1.z
mad r0.w, r2.x, r1.w, r0.w
add r0.w, r0.w, l(0.000010)
div r0.w, l(0.500000), r0.w
mul r0.z, r0.z, r0.z
mad r1.z, r0.x, r0.z, -r0.x
mad r0.x, r1.z, r0.x, l(1.000000)
mul r0.z, r0.z, l(0.318309873)
mad r0.x, r0.x, r0.x, l(1.000000012E-07)
div r0.x, r0.z, r0.x
mul r0.x, r0.x, r0.w
mul r1.y, r0.x, r2.x
mov r2.y, l(3.14159274)
mul r0.xz, r1.xxyx, r2.xxyx
max r0.z, r0.z, l(0.000000)
dp3 r0.w, r6.xyzx, r6.xyzx
ne r0.w, r0.w, l(0.000000)
and r0.w, r0.w, l(0x3f800000)
mul r0.z, r0.w, r0.z
mul r1.xyz, r0.xxxx, r4.xyzx
mul r0.xzw, r4.xxyz, r0.zzzz
add r0.y, -r0.y, l(1.000000)
mul r1.w, r0.y, r0.y
mul r1.w, r1.w, r1.w
mul r0.y, r0.y, r1.w
mad r2.xyz, r7.yzwy, r0.yyyy, r6.xyzx
mul r0.xyz, r0.xzwx, r2.xyzx
mad o0.xyz, r5.xyzx, r1.xyzx, r0.xyzx
mov o0.w, l(1.000000)
ret
// Approximately 166 instruction slots used

///////////////////////////////// HLSL Code /////////////////////////////////
// // ---- Created with 3Dmigoto v0.6.164 on Fri Mar 27 01:52:33 2026
//
// cbuffer cb3 : register(b3)
// {
//   float4 cb3[26] : packoffset(c0);
// }
//
// cbuffer cb2 : register(b2)
// {
//   float4 cb2[22] : packoffset(c0);
// }
//
// cbuffer cb1 : register(b1)
// {
//   float4 cb1[8] : packoffset(c0);
// }
//
// cbuffer cb0 : register(b0)
// {
//   float4 cb0[16] : packoffset(c0);
// }
//
// cbuffer cb13 : register(b13)
// {
//   float4 cb13[26] : packoffset(c0);
// }
//
// SamplerState s0_s_s : register(s0);
// SamplerState s1_s_s : register(s1);
// SamplerState s2_s_s : register(s2);
// SamplerState s4_s_s : register(s4);
// SamplerState s5_s_s : register(s5);
// SamplerState s6_s_s : register(s6);
// SamplerComparisonState s3_s_s : register(s3);
// Texture2D<float4> t0 : register(t0);
// Texture2D<float4> t1 : register(t1);
// Texture2D<float4> t2 : register(t2);
// Texture2D<float4> t3 : register(t3);
// Texture2D<float4> t4 : register(t4);
// Texture2D<float4> t5 : register(t5);
// Texture2D<float4> t6 : register(t6);
//
//
// // 3Dmigoto declarations
// #define cmp -
// Texture1D<float4> IniParams : register(t120);
// Buffer<float4> StereoParams : register(t125);
//
//
// void main(
//   float4 v0 : SV_POSITION0,
//   float4 v1 : TEXCOORD0,
//   float3 v2 : TEXCOORD1,
//   out float4 o0 : SV_Target0)
// {
//   float4 r0,r1,r2,r3,r4,r5,r6,r7,r8,r9;
//   uint4 bitmask, uiDest;
//   float4 fDest;
//
//   r0.xyzw = StereoParams.Load(float4(0,0,0,0)).xyzw;
//   r0.z = cb1[5].z / v2.z;
//   r1.xyz = v2.xyz * r0.zzz;
//   r0.zw = v1.xy / v1.ww;
//   r2.xyzw = t0.Sample(s0_s_s, r0.zw).xyzw;
//   r1.w = cb1[7].x * r2.x + cb1[7].y;
//   r1.w = 1 / r1.w;
//   r2.xyz = r1.xyz * r1.www;
//   r1.x = cb13[18].x * cb13[18].x;
//   r1.x = cb13[17].x * cb13[17].x + r1.x;
//   r1.x = cb13[19].x * cb13[19].x + r1.x;
//   r1.x = rsqrt(r1.x);
//   r0.y = r1.z * r1.w + -r0.y;
//   r0.x = r0.x * r0.y;
//   r0.x = -r0.x * r1.x + r2.x;
//   r2.xyw = cb2[19].xyz * r2.yyy;
//   r2.xyw = cb2[18].xyz * r0.xxx + r2.xyw;
//   r2.xyw = cb2[20].xyz * r2.zzz + r2.xyw;
//   r2.xyw = cb2[21].xyz + r2.xyw;
//   r3.xyz = -cb3[25].xyz + r2.xyw;
//   r0.x = dot(r3.xyz, r3.xyz);
//   r0.x = sqrt(r0.x);
//   r0.x = -r1.z * r1.w + r0.x;
//   r0.x = cb3[25].w * r0.x + r2.z;
//   r1.xyz = cb0[4].xyz + -r2.xyw;
//   r0.y = dot(r1.xyz, r1.xyz);
//   r1.w = rsqrt(r0.y);
//   r3.xyz = r1.www * r1.xyz;
//   r4.xyz = cb0[8].xyw * r2.yyy;
//   r4.xyz = cb0[7].xyw * r2.xxx + r4.xyz;
//   r4.xyz = cb0[9].xyw * r2.www + r4.xyz;
//   r4.xyz = cb0[10].xyw + r4.xyz;
//   r4.xy = r4.xy / r4.zz;
//   r5.xyzw = t1.SampleBias(s2_s_s, r4.xy, -8).xyzw;
//   r2.z = cmp(r4.z < 0);
//   r2.z = r2.z ? 1.000000 : 0;
//   r2.z = r5.w * r2.z;
//   r0.y = cb0[4].w * r0.y;
//   r4.xyzw = t2.Sample(s1_s_s, r0.yy).xyzw;
//   r0.y = r4.x * r2.z;
//   r0.x = saturate(r0.x * cb3[24].z + cb3[24].w);
//   r2.z = cmp(r0.x < 0.99000001);
//   if (r2.z != 0) {
//     r4.xyzw = cb3[9].xyzw * r2.yyyy;
//     r4.xyzw = cb3[8].xyzw * r2.xxxx + r4.xyzw;
//     r4.xyzw = cb3[10].xyzw * r2.wwww + r4.xyzw;
//     r4.xyzw = cb3[11].xyzw + r4.xyzw;
//     r4.xyz = r4.xyz / r4.www;
//     r5.xyz = r4.xyx * cb0[15].zwz + float3(0.5,0.5,0.5);
//     r5.xyz = floor(r5.xyz);
//     r4.xy = r4.xy * cb0[15].zw + -r5.zy;
//     r6.xyzw = float4(0.5,1,0.5,1) + r4.xxyy;
//     r7.xw = r6.xz * r6.xz;
//     r6.xz = r7.xw * float2(0.5,0.5) + -r4.xy;
//     r8.xy = float2(1,1) + -r4.xy;
//     r8.zw = min(float2(0,0), r4.xy);
//     r8.xy = -r8.zw * r8.zw + r8.xy;
//     r4.xy = max(float2(0,0), r4.xy);
//     r4.xy = -r4.xy * r4.xy + r6.yw;
//     r9.x = r6.x;
//     r9.y = r8.x;
//     r9.z = r4.x;
//     r9.w = r7.x;
//     r9.xyzw = float4(0.444440007,0.444440007,0.444440007,0.222220004) * r9.xyzw;
//     r7.x = r6.z;
//     r7.y = r8.y;
//     r7.z = r4.y;
//     r6.xyzw = float4(0.444440007,0.444440007,0.444440007,0.222220004) * r7.xyzw;
//     r7.xyzw = r9.xzxz + r9.ywyw;
//     r8.xyzw = r6.xxzz + r6.yyww;
//     r4.xy = r9.yw / r7.zw;
//     r4.xy = float2(-1.5,0.5) + r4.xy;
//     r6.xy = r6.yw / r8.yw;
//     r6.xy = float2(-1.5,0.5) + r6.xy;
//     r9.xy = cb0[15].xx * r4.xy;
//     r9.zw = cb0[15].yy * r6.xy;
//     r6.xyzw = r8.xyzw * r7.xyzw;
//     r4.xyw = r5.zyz * cb0[15].xyx + r9.xzy;
//     r2.z = t6.SampleCmpLevelZero(s3_s_s, r4.xy, r4.z).x;
//     r3.w = t6.SampleCmpLevelZero(s3_s_s, r4.wy, r4.z).x;
//     r3.w = r6.y * r3.w;
//     r2.z = r6.x * r2.z + r3.w;
//     r4.xyw = r5.xyz * cb0[15].xyx + r9.xwy;
//     r3.w = t6.SampleCmpLevelZero(s3_s_s, r4.xy, r4.z).x;
//     r2.z = r6.z * r3.w + r2.z;
//     r3.w = t6.SampleCmpLevelZero(s3_s_s, r4.wy, r4.z).x;
//     r2.z = r6.w * r3.w + r2.z;
//     r3.w = 1 + -cb3[24].x;
//     r2.z = r2.z * r3.w + cb3[24].x;
//   } else {
//     r2.z = 1;
//   }
//   r3.w = 1 + -r2.z;
//   r0.x = r0.x * r3.w + r2.z;
//   r0.x = r0.y * r0.x;
//   r4.xyz = cb0[5].xyz * r0.xxx;
//   r5.xyzw = t3.Sample(s4_s_s, r0.zw).xyzw;
//   r6.xyzw = t4.Sample(s5_s_s, r0.zw).xyzw;
//   r0.xyzw = t5.Sample(s6_s_s, r0.zw).xyzw;
//   r0.xyz = r0.xyz * float3(2,2,2) + float3(-1,-1,-1);
//   r0.w = dot(r0.xyz, r0.xyz);
//   r0.w = rsqrt(r0.w);
//   r0.xyz = r0.xyz * r0.www;
//   r2.xyz = -cb1[4].xyz + r2.xyw;
//   r0.w = dot(r2.xyz, r2.xyz);
//   r0.w = rsqrt(r0.w);
//   r2.xyz = r2.xyz * r0.www;
//   r7.xyzw = float4(1,1,1,1) + -r6.wxyz;
//   r1.xyz = r1.www * r1.xyz + -r2.xyz;
//   r0.w = dot(r1.xyz, r1.xyz);
//   r0.w = max(0.00100000005, r0.w);
//   r0.w = rsqrt(r0.w);
//   r1.xyz = r1.xyz * r0.www;
//   r0.w = dot(r0.xyz, -r2.xyz);
//   r2.x = saturate(dot(r0.xyz, r3.xyz));
//   r0.x = saturate(dot(r0.xyz, r1.xyz));
//   r0.y = saturate(dot(r3.xyz, r1.xyz));
//   r0.z = r0.y * r0.y;
//   r0.z = dot(r0.zz, r7.xx);
//   r0.z = -0.5 + r0.z;
//   r1.x = 1 + -r2.x;
//   r1.y = r1.x * r1.x;
//   r1.y = r1.y * r1.y;
//   r1.x = r1.y * r1.x;
//   r1.x = r0.z * r1.x + 1;
//   r1.y = 1 + -abs(r0.w);
//   r1.z = r1.y * r1.y;
//   r1.z = r1.z * r1.z;
//   r1.y = r1.z * r1.y;
//   r0.z = r0.z * r1.y + 1;
//   r1.x = r1.x * r0.z;
//   r0.z = r7.x * r7.x;
//   r0.z = max(0.00200000009, r0.z);
//   r1.z = 1 + -r0.z;
//   r1.w = abs(r0.w) * r1.z + r0.z;
//   r1.z = r2.x * r1.z + r0.z;
//   r0.w = r1.z * abs(r0.w);
//   r0.w = r2.x * r1.w + r0.w;
//   r0.w = 9.99999975e-06 + r0.w;
//   r0.w = 0.5 / r0.w;
//   r0.z = r0.z * r0.z;
//   r1.z = r0.x * r0.z + -r0.x;
//   r0.x = r1.z * r0.x + 1;
//   r0.z = 0.318309873 * r0.z;
//   r0.x = r0.x * r0.x + 1.00000001e-07;
//   r0.x = r0.z / r0.x;
//   r0.x = r0.w * r0.x;
//   r1.y = r2.x * r0.x;
//   r2.y = 3.14159274;
//   r0.xz = r2.xy * r1.xy;
//   r0.z = max(0, r0.z);
//   r0.w = dot(r6.xyz, r6.xyz);
//   r0.w = cmp(r0.w != 0.000000);
//   r0.w = r0.w ? 1.000000 : 0;
//   r0.z = r0.z * r0.w;
//   r1.xyz = r4.xyz * r0.xxx;
//   r0.xzw = r0.zzz * r4.xyz;
//   r0.y = 1 + -r0.y;
//   r1.w = r0.y * r0.y;
//   r1.w = r1.w * r1.w;
//   r0.y = r1.w * r0.y;
//   r2.xyz = r7.yzw * r0.yyy + r6.xyz;
//   r0.xyz = r2.xyz * r0.xzw;
//   o0.xyz = r5.xyz * r1.xyz + r0.xyz;
//   o0.w = 1;
//   return;
// }
/////////////////////////////////////////////////////////////////////////////
