// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.89 on Fri Dec  9 23:18:50 2022
//
//
// Buffer Definitions:
//
// cbuffer cb1
// {
//
//   float4 cb1[39];                    // Index:    0-38             Components:   156
//
// }
//
// cbuffer cb0
// {
//
//   float4 cb0[144];                   // Index:    0-143            Components:   576
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// s0_s                              sampler      NA          NA    0        1
// t0                                texture  float4          2d    0        1
// StereoParams                      texture  float4          2d  125        1
// cb0                               cbuffer      NA          NA    0        1
// cb1                               cbuffer      NA          NA    1        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position              0   xyzw        0      POS   float   xyz
// COLOR                    0   xyzw        1     NONE   float      w
// SV_IsFrontFace           0   x           2    FFACE    uint
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
// SV_Coverage              0    N/A    oMask COVERAGE    uint    YES
//
ps_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB1[39], immediateIndexed
dcl_constantbuffer CB0[144], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_resource_buffer (float,float,float,float) t125
dcl_input_ps_siv linear noperspective v0.xyz, position
dcl_input_ps linear v1.w
dcl_output o0.xyzw
dcl_output oMask
dcl_temps 2
dcl_indexableTemp x0[16], 4
ld_indexable(buffer)(float,float,float,float) r0.xy, l(0, 0, 0, 0), t125.xyzw
mov x0[0].x, l(0.658823550)
mov x0[1].x, l(0.282352954)
mov x0[2].x, l(0.533333361)
mov x0[3].x, l(0.407843143)
mov x0[4].x, l(0)
mov x0[5].x, l(0.784313738)
mov x0[6].x, l(0.156862751)
mov x0[7].x, l(0.909803927)
mov x0[8].x, l(0.596078455)
mov x0[9].x, l(0.470588237)
mov x0[10].x, l(0.721568644)
mov x0[11].x, l(0.345098048)
mov x0[12].x, l(0.219607845)
mov x0[13].x, l(0.972549)
mov x0[14].x, l(0.0941176489)
mov x0[15].x, l(0.847058833)
add r0.zw, v0.xxxy, -cb0[129].xxxy
ftou r0.zw, r0.zzzw
bfi r0.w, l(2), l(2), r0.w, l(0)
bfi r0.z, l(2), l(0), r0.z, r0.w
mov r0.z, x0[r0.z + 0].x
mul r1.xyzw, v0.yyyy, cb0[45].wxyw
mad r0.w, v0.x, cb0[44].w, r1.x
mad r0.w, v0.z, cb0[46].w, r0.w
add r0.w, r0.w, cb0[47].w
mad r0.y, r0.w, r0.y, l(-1.000000)
mul r0.x, r0.y, r0.x
mul r0.x, r0.x, cb0[130].x
mad r0.x, r0.x, l(0.500000), v0.x
mad r0.xyw, r0.xxxx, cb0[44].xyxw, r1.yzyw
mad r0.xyw, v0.zzzz, cb0[46].xyxw, r0.xyxw
add r0.xyw, r0.xyxw, cb0[47].xyxw
div r0.xy, r0.xyxx, r0.wwww
add r0.xy, r0.xyxx, -cb0[70].xyxx
div r0.xy, r0.xyxx, cb1[38].xxxx
sample_b_indexable(texture2d)(float,float,float,float) r0.x, r0.xyxx, t0.zxyw, s0, cb0[143].y
add r0.y, -cb1[38].z, cb1[38].y
mad_sat r0.x, r0.x, r0.y, cb1[38].z
add r0.x, r0.x, v1.w
add r0.x, r0.x, l(-1.000000)
mad r0.x, cb1[38].w, r0.x, v1.w
add r0.x, -r0.z, r0.x
lt r0.y, l(0.000000), r0.x
lt r0.x, r0.x, l(0.000000)
and r0.y, r0.y, l(1)
iadd r0.x, r0.x, r0.y
itof r0.x, r0.x
max r0.x, r0.x, l(0.000000)
add r0.x, r0.x, l(-0.333300)
lt r1.xyz, l(0.166675, 0.333350, 0.500025, 0.000000), r0.xxxx
and r0.z, r1.x, l(9)
movc r0.z, r1.y, l(13), r0.z
utof r0.w, r0.z
add r0.y, r0.w, l(-0.500000)
lt r0.xy, r0.xyxx, l(0.000000, 0.000000, 0.000000, 0.000000)
and r0.xy, r0.xyxx, l(0xbf800000, 0xbf800000, 0, 0)
movc r0.y, r1.z, l(0), r0.y
ilt r0.w, l(1), cb0[135].x
and r0.y, r0.y, r0.w
ne r0.y, r0.y, l(0.000000)
discard_nz r0.y
ieq r0.y, r0.w, l(0)
and r0.x, r0.x, r0.y
ne r0.x, r0.x, l(0.000000)
discard_nz r0.x
or r0.x, r1.z, r0.y
itof r0.x, r0.x
ne r0.x, l(0.000000, 0.000000, 0.000000, 0.000000), r0.x
movc oMask, r0.x, l(15), r0.z
mov o0.xyzw, l(0,0,0,0)
ret
// Approximately 72 instruction slots used
