// ---- Created with 3Dmigoto v1.2.35 on Tue Apr 26 22:31:23 2016



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


void main( 
  float4 v0 : SV_Position0,
  float4 v1 : COLOR0,
  float3 v2 : NORMAL0,
  float3 v3 : TANGENT0,
  float3 v4 : BINORMAL0,
  float4 v5 : POSITION1,
  float4 v6 : POSITION2,
  float4 v7 : TEXCOORD29,
  float2 v8 : TEXCOORD0,
  float2 w8 : TEXCOORD2,
  float3 v9 : TEXCOORD17,
  uint v10 : SV_IsFrontFace0,
  out float4 o0 : SV_Target0)
{
  float4 r0;
  uint4 bitmask, uiDest;
  float4 fDest;

  r0.x = v5.z / v5.w;
  r0.xyz = float3(65025,255,1) * r0.xxx;
  r0.xy = frac(r0.xy);
  o0.yz = -r0.xy * float2(0.00392156886,0.00392156886) + r0.yz;
  o0.x = r0.x;
  o0.w = 1;
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Original ASM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position              0   xyzw        0      POS   float       
// COLOR                    0   xyzw        1     NONE   float       
// NORMAL                   0   xyz         2     NONE   float       
// TANGENT                  0   xyz         3     NONE   float       
// BINORMAL                 0   xyz         4     NONE   float       
// POSITION                 1   xyzw        5     NONE   float     zw
// POSITION                 2   xyzw        6     NONE   float       
// TEXCOORD                29   xyz         7     NONE   float       
// TEXCOORD                 0   xy          8     NONE   float       
// TEXCOORD                 2     zw        8     NONE   float       
// TEXCOORD                17   xyz         9     NONE   float       
// SV_IsFrontFace           0   x          10    FFACE    uint       
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target                0   xyzw        0   TARGET   float   xyzw
//
ps_5_0
dcl_globalFlags refactoringAllowed
dcl_input_ps linear v5.zw
dcl_output o0.xyzw
dcl_temps 1
div r0.x, v5.z, v5.w
mul r0.xyz, r0.xxxx, l(65025.000000, 255.000000, 1.000000, 0.000000)
frc r0.xy, r0.xyxx
mad o0.yz, -r0.xxyx, l(0.000000, 0.003922, 0.003922, 0.000000), r0.yyzy
mov o0.x, r0.x
mov o0.w, l(1.000000)
ret 
// Approximately 7 instruction slots used

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