// AUTOMATICALLY CONVERTED FROM SHADER FIXES 
//
// Generated by Microsoft (R) HLSL Shader Compiler 10.1
//
//   using 3Dmigoto v0.6.198 on Sun Jun  7 23:51:49 2026
//
//
// Buffer Definitions:
//
// cbuffer cb0
// {
//
//   float4 cb0[28];                    // Index:    0-27             Components:   112
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// s0_s                              sampler      NA          NA    0        1
// t0                                texture  float4          2d    0        1
// cb0                               cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD                 0   xyzw        0     NONE   float   xyzw
//
//
// 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 CB0[28], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear noperspective v0.xyzw
dcl_output o0.xyzw
dcl_temps 1
discard_nz l(-1)
mul r0.xy, v0.zwzz, l(0.800000, 0.800000, 0.000000, 0.000000)
dp2 r0.x, r0.xyxx, r0.xyxx
add r0.x, -r0.x, l(1.000000)
dp2 r0.z, v0.zwzz, v0.zwzz
add r0.z, -r0.z, l(1.000000)
max r0.xy, r0.xzxx, l(0.000000, 0.000000, 0.000000, 0.000000)
mul r0.xy, r0.xyxx, r0.xyxx
mul r0.x, r0.x, r0.y
sample_indexable(texture2d)(float,float,float,float) r0.yzw, v0.xyxx, t0.wxyz, s0
mul r0.yzw, r0.yyzw, cb0[27].xxyz
mul o0.xyz, r0.xxxx, r0.yzwy
mov o0.w, l(0)
ret
// Approximately 14 instruction slots used

///////////////////////////////// HLSL Code /////////////////////////////////
// // ---- Created with geo-11 v0.6.198 on Sun Jun  7 23:51:49 2026
//
// cbuffer cb0 : register(b0)
// {
//   float4 cb0[28] : packoffset(c0);
// }
//
// SamplerState s0_s_s : register(s0);
// Texture2D<float4> t0 : register(t0);
//
//
// // 3Dmigoto declarations
// #define cmp -
// Texture1D<float4> IniParams : register(t120);
// Buffer<float4> StereoParams : register(t125);
//
//
// void main(
//   linear noperspective float4 v0 : TEXCOORD0,
//   out float4 o0 : SV_Target0)
// {
//   float4 r0;
//   uint4 bitmask, uiDest;
//   float4 fDest;
//
//   if (-1 != 0) discard;
//   r0.xy = float2(0.800000012,0.800000012) * v0.zw;
//   r0.x = dot(r0.xy, r0.xy);
//   r0.x = 1 + -r0.x;
//   r0.z = dot(v0.zw, v0.zw);
//   r0.z = 1 + -r0.z;
//   r0.xy = max(float2(0,0), r0.xz);
//   r0.xy = r0.xy * r0.xy;
//   r0.x = r0.y * r0.x;
//   r0.yzw = t0.Sample(s0_s_s, v0.xy).xyz;
//   r0.yzw = cb0[27].xyz * r0.yzw;
//   o0.xyz = r0.yzw * r0.xxx;
//   o0.w = 0;
//   return;
// }
/////////////////////////////////////////////////////////////////////////////
