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

cbuffer CBFxaaParam : register(b0)
{
  float4 g_vScreenSize : packoffset(c0);
  float4 g_vFilterParam : packoffset(c1);
  float4 g_vScreenSizeHalf : packoffset(c2);
}



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


void main( 
  float4 v0 : POSITION0,
  float2 v1 : TEXCOORD0,
  out float4 o0 : SV_Position0,
  out float4 o1 : TEXCOORD0,
  out float4 o2 : TEXCOORD1)
{
  o0.xyzw = v0.xyzw;
  o1.zw = -g_vScreenSize.zw * float2(0.75,0.75) + v1.xy;
  o1.xy = v1.xy;
  o2.xy = -g_vScreenSize.zw * float2(0.5,0.5) + v1.xy;
  o2.zw = g_vScreenSize.zw * float2(0.5,0.5) + v1.xy;
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Original ASM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20546
//
//
// Buffer Definitions: 
//
// cbuffer CBFxaaParam
// {
//
//   float4 g_vScreenSize;              // Offset:    0 Size:    16
//   float4 g_vFilterParam;             // Offset:   16 Size:    16 [unused]
//   float4 g_vScreenSizeHalf;          // Offset:   32 Size:    16 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// CBFxaaParam                       cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE   float   xyzw
// TEXCOORD                 0   xy          1     NONE   float   xy  
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position              0   xyzw        0      POS   float   xyzw
// TEXCOORD                 0   xyzw        1     NONE   float   xyzw
// TEXCOORD                 1   xyzw        2     NONE   float   xyzw
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[1], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xyzw
mov o0.xyzw, v0.xyzw
mad o1.zw, -cb0[0].zzzw, l(0.000000, 0.000000, 0.750000, 0.750000), v1.xxxy
mov o1.xy, v1.xyxx
mad o2.xy, -cb0[0].zwzz, l(0.500000, 0.500000, 0.000000, 0.000000), v1.xyxx
mad o2.zw, cb0[0].zzzw, l(0.000000, 0.000000, 0.500000, 0.500000), v1.xxxy
ret 
// Approximately 6 instruction slots used

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