// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v0.6.164 on Mon Nov  2 09:31:05 2026
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position              0   xyzw        0      POS   float   xy
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Depth                 0    N/A   oDepth    DEPTH   float    YES
//
ps_5_0
dcl_globalFlags refactoringAllowed
dcl_resource_texture2dms(0) (float,float,float,float) t0
dcl_input_ps_siv linear noperspective v0.xy, position
dcl_output oDepth
dcl_temps 4
sampleinfo_uint r0.x, t0.x
ftoi r1.xy, v0.xyxx
mov r1.zw, l(0,0,0,0)
ldms_indexable(texture2dms)(float,float,float,float) r0.yzw, r1.xyww, t0.wxyz, l(0)
mov r0.w, |r0.w|
div r2.x, l(1.000000, 1.000000, 1.000000, 1.000000), r0.w
mul r2.z, r2.x, l(250.000000)
mov r2.xy, l(4.000000,4.000000,0,0)
mov r2.w, l(1)
loop
  uge r3.x, r2.w, r0.x
  breakc_nz r3.x
  ldms_indexable(texture2dms)(float,float,float,float) r3.xyz, r1.xyzw, t0.xyzw, r2.w
  mov r3.z, |r3.z|
  add r3.xyz, r0.yzwy, -r3.xyzx
  dp3 r3.x, |r3.xyzx|, r2.xyzx
  lt r3.x, l(1.000000), r3.x
  if_nz r3.x
    mov oDepth, l(0.100000)
    ret
  endif
  iadd r2.w, r2.w, l(1)
endloop
discard_nz l(-1)
mov oDepth, l(0)
ret
// Approximately 0 instruction slots used
