// ---- Created with 3Dmigoto v1.2.65 on Sun Sep 24 09:42:40 2017
Texture2D<float4> t0 : register(t0);

SamplerState s0_s : register(s0);

cbuffer cb0 : register(b0)
{
  float4 cb0[1];
}




// 3Dmigoto declarations
#define cmp -
Texture1D<float4> IniParams : register(t120);
Texture2D<float4> StereoParams : register(t125);


void main( 
  linear noperspective float4 v0 : TEXCOORD0,
  out float4 o0 : SV_Target0)
{
  float4 r0,r1;
  uint4 bitmask, uiDest;
  float4 fDest;

  r0.xyzw = cb0[0].xyxy * float4(-0.25,-0.25,0.25,-0.25) + v0.xyxy;
  r0.x = t0.SampleLevel(s0_s, r0.xy, 0).x;
  r0.y = t0.SampleLevel(s0_s, r0.zw, 0).x;
  r0.x = min(r0.x, r0.y);
  r1.xyzw = cb0[0].xyxy * float4(-0.25,0.25,0.25,0.25) + v0.xyxy;
  r0.y = t0.SampleLevel(s0_s, r1.xy, 0).x;
  r0.z = t0.SampleLevel(s0_s, r1.zw, 0).x;
  r0.y = min(r0.y, r0.z);
  
  //r0.x = 0;
  
  o0.xyzw = min(r0.xxxx, r0.yyyy);
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v1.2.65 on Sun Sep 24 09:42:40 2017
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD                 0   xyzw        0     NONE   float   xy  
//
//
// 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[1], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear noperspective v0.xy
dcl_output o0.xyzw
dcl_temps 2
mad r0.xyzw, cb0[0].xyxy, l(-0.250000, -0.250000, 0.250000, -0.250000), v0.xyxy
sample_l_indexable(texture2d)(float,float,float,float) r0.x, r0.xyxx, t0.xyzw, s0, l(0.000000)
sample_l_indexable(texture2d)(float,float,float,float) r0.y, r0.zwzz, t0.yxzw, s0, l(0.000000)
min r0.x, r0.y, r0.x
mad r1.xyzw, cb0[0].xyxy, l(-0.250000, 0.250000, 0.250000, 0.250000), v0.xyxy
sample_l_indexable(texture2d)(float,float,float,float) r0.y, r1.xyxx, t0.yxzw, s0, l(0.000000)
sample_l_indexable(texture2d)(float,float,float,float) r0.z, r1.zwzz, t0.yzxw, s0, l(0.000000)
min r0.y, r0.z, r0.y
min o0.xyzw, r0.yyyy, r0.xxxx
ret 
// Approximately 0 instruction slots used

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
