// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v0.6.181 on Sat Aug 23 17:56:27 2025
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// no Input
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// no Output
cs_5_0
dcl_constantbuffer CB12[2], immediateIndexed
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[2], immediateIndexed
dcl_sampler s10, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_uav_typed_texture2darray (float,float,float,float) u0
dcl_input vThreadID.xy
dcl_temps 1
dcl_thread_group 8, 8, 1
mov r1.z, l(0)
utof r0.xy, vThreadID.xyxx
mul r0.xy, r0.xyxx, cb0[0].zwzz
gather4_aoffimmi_indexable(1,1,0)(texture2d)(float,float,float,float) r0.xyzw, r0.xyxx, t0.xyzw, s10.x
add r0.xyzw, -r0.wzxy, cb0[1].yyyy
div r0.xyzw, cb0[1].xxxx, r0.xyzw
max r0.xyzw, r0.xyzw, l(0.000000, 0.000000, 0.000000, 0.000000)
min r0.xyzw, r0.xyzw, l(65504.000000, 65504.000000, 65504.000000, 65504.000000)
add r0.x, r0.y, r0.x
add r0.x, r0.z, r0.x
add r0.x, r0.w, r0.x
mul r0.x, r0.x, l(0.250000)
div r0.x, cb0[1].x, r0.x
add r0.x, -r0.x, cb0[1].y
mov r1.xy, vThreadID.xyyy
store_uav_typed u0.xyzw, r1.xyzz, r0.xxxx
ret
// Approximately 0 instruction slots used
