// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.58 on Sat Apr 18 21:21:07 2026
//
//
// Buffer Definitions:
//
// cbuffer cb4
// {
//
//   float4 cb4[236];                   // Index:    0-235            Components:   944
//
// }
//
// cbuffer cb3
// {
//
//   float4 cb3[77];                    // Index:    0-76             Components:   308
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// s0_s                              sampler      NA          NA    0        1
// s3_s                              sampler      NA          NA    3        1
// s9_s                              sampler      NA          NA    9        1
// t0                                texture  float4          2d    0        1
// t3                                texture  float4          2d    3        1
// t9                                texture  float4          2d    9        1
// StereoParams                      texture  float4          2d  125        1
// cb3                               cbuffer      NA          NA    3        1
// cb4                               cbuffer      NA          NA    4        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float
// TEXCOORD                 8   xyzw        1     NONE   float
// COLOR                    0   xyzw        2     NONE   float   xyzw
// COLOR                    1   xyzw        3     NONE   float
// TEXCOORD                 9   xyzw        4     NONE   float   x
// TEXCOORD                 0   xyzw        5     NONE   float   xy
// TEXCOORD                 1   xyzw        6     NONE   float   xyz
// TEXCOORD                 2   xyzw        7     NONE   float
// TEXCOORD                 3   xyzw        8     NONE   float   xyz
// TEXCOORD                 4   xyzw        9     NONE   float   xy w
// TEXCOORD                 5   xyzw       10     NONE   float
// TEXCOORD                 6   xyzw       11     NONE   float
// TEXCOORD                 7   xyzw       12     NONE   float
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TARGET                0   xyzw        0   TARGET   float   xyzw
//
ps_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB4[11], immediateIndexed
dcl_constantbuffer CB3[64], immediateIndexed
dcl_sampler s0, mode_default
dcl_sampler s3, mode_default
dcl_sampler s9, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_resource_texture2d (float,float,float,float) t3
dcl_resource_texture2d (float,float,float,float) t9
dcl_resource_buffer (float,float,float,float) t125
dcl_input_ps linear centroid v2.xyzw
dcl_input_ps linear v4.x
dcl_input_ps linear v5.xy
dcl_input_ps linear v6.xyz
dcl_input_ps linear v8.xyz
dcl_input_ps linear v9.xyw
dcl_output o0.xyzw
dcl_temps 4
ld_indexable(buffer)(float,float,float,float) r0.xy, l(0, 0, 0, 0), t125.xyzw
div r0.y, r0.y, v9.w
add r0.y, -r0.y, l(1.000000)
mul r0.x, r0.y, r0.x
mul r0.yz, v5.xxyx, l(0.000000, 8.000000, 8.000000, 0.000000)
sample_indexable(texture2d)(float,float,float,float) r0.yz, r0.yzyy, t3.xywz, s3
and r0.yz, r0.zzyz, cb3[50].wwyw
or r0.yz, r0.yyzy, cb3[51].wwyw
mad r1.xy, r0.yzyy, l(2.000000, 2.000000, 0.000000, 0.000000), l(-1.000000, -1.000000, 0.000000, 0.000000)
mad r0.yz, r1.xxyx, l(0.000000, 0.350000, 0.350000, 0.000000), v9.xxyx
div r2.yz, r0.yyzy, v9.wwww
mad r2.x, r0.x, l(0.500000), r2.y
sample_indexable(texture2d)(float,float,float,float) r0.xyz, r2.xzxx, t0.xyzw, s0
and r0.xyz, r0.xyzx, cb3[44].xyzx
or r0.xyz, r0.xyzx, cb3[45].xyzx
log r0.xyz, |r0.xyzx|
ieq r2.xyz, r0.xyzx, l(0xff800000, 0xff800000, 0xff800000, 0)
movc r0.xyz, r2.xyzx, l(-9999999933815812510711506376257961984.000000,-9999999933815812510711506376257961984.000000,-9999999933815812510711506376257961984.000000,0), r0.xyzx
mul r0.xyz, r0.xyzx, cb4[9].xxxx
exp r0.xyz, r0.xyzx
min r0.xyz, r0.xyzx, l(4.000000, 4.000000, 4.000000, 0.000000)
sample_indexable(texture2d)(float,float,float,float) r2.xyzw, v5.xyxx, t9.xyzw, s9
and r2.xyzw, r2.xyzw, cb3[62].xyzw
or r2.xyzw, r2.xyzw, cb3[63].xyzw
log r2.xyz, |r2.xyzx|
ieq r3.xyz, r2.xyzx, l(0xff800000, 0xff800000, 0xff800000, 0)
movc r2.xyz, r3.xyzx, l(-9999999933815812510711506376257961984.000000,-9999999933815812510711506376257961984.000000,-9999999933815812510711506376257961984.000000,0), r2.xyzx
mul r2.xyz, r2.xyzx, l(2.200000, 2.200000, 2.200000, 0.000000)
exp r2.xyz, r2.xyzx
add r0.xyz, r0.xyzx, -r2.xyzx
mad r0.xyz, cb4[8].xxxx, r0.xyzx, r2.xyzx
dp2 r0.w, r1.xyxx, -r1.xyxx
add r0.w, r0.w, l(1.000000)
rsq r0.w, |r0.w|
ieq r1.w, r0.w, l(0x7f800000)
movc r0.w, r1.w, l(9999999933815812510711506376257961984.000000), r0.w
lt r1.w, l(0.000000), r0.w
rcp r0.w, r0.w
movc r1.z, r1.w, r0.w, l(9999999933815812510711506376257961984.000000)
dp3_sat r0.w, r1.xyzx, v6.xyzx
mul r0.xyz, r0.xyzx, r0.wwww
dp3 r0.w, v8.xyzx, v8.xyzx
rsq r0.w, r0.w
ine r1.w, r0.w, l(0x7f800000)
and r0.w, r0.w, r1.w
mul r2.xyz, r0.wwww, v8.xyzx
dp3_sat r0.w, r2.xyzx, r1.xyzx
add r0.w, -r0.w, l(1.000000)
mul r1.x, r0.w, r0.w
mul r1.x, r1.x, r1.x
mul r0.w, r0.w, r1.x
mad r0.w, r0.w, l(0.979600), l(0.020400)
mov_sat r1.xyzw, v2.xyzw
mad r1.xyz, r0.wwww, r1.xyzx, r1.xyzx
mul o0.w, r2.w, r1.w
mul r0.xyz, r0.xyzx, r1.xyzx
log r0.xyz, |r0.xyzx|
ieq r1.xyz, r0.xyzx, l(0xff800000, 0xff800000, 0xff800000, 0)
movc r0.xyz, r1.xyzx, l(-9999999933815812510711506376257961984.000000,-9999999933815812510711506376257961984.000000,-9999999933815812510711506376257961984.000000,0), r0.xyzx
mul r0.xyz, r0.xyzx, cb4[10].xxxx
exp r0.xyz, r0.xyzx
add r0.xyz, r0.xyzx, -cb3[0].xyzx
mov_sat r0.w, v4.x
mad o0.xyz, r0.wwww, r0.xyzx, cb3[0].xyzx
ret
// Approximately 65 instruction slots used
