// ---- Created with 3Dmigoto v1.3.16 on Sun Apr 07 14:27:17 2019

cbuffer SMAAFilterConstantscb : register(b1)
{

  struct
  {
    float2 m_OneOverWidthHeight;
    float2 m_ThresholdParams;
    int4 m_SubsampleIndices;
    float4 m_MiscParams;
  } g_SMAAFilterConstants : packoffset(c0);

}



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


void main(
  float3 v0 : POSITION0,
  float2 v1 : TEXCOORD0,
  out float4 o0 : SV_Position0,
  out float4 o1 : TEXCOORD0,
  out float4 o2 : TEXCOORD1,
  out float4 o3 : TEXCOORD2)
{
  o0.xyz = v0.xyz;
  o0.w = 1;
  o1.xy = v1.xy;
  o2.xyzw = g_SMAAFilterConstants.m_OneOverWidthHeight.xyxy * float4(-1,0,0,-1) + v1.xyxy;
  o3.xyzw = g_SMAAFilterConstants.m_OneOverWidthHeight.xyxy * float4(1,0,0,1) + v1.xyxy;


  
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
//
//   using 3Dmigoto v1.3.16 on Sun Apr 07 14:27:17 2019
//
//
// Buffer Definitions:
//
// cbuffer SMAAFilterConstantscb
// {
//
//   struct SMAAFilterConstants
//   {
//
//       float2 m_OneOverWidthHeight;   // Offset:    0
//       float2 m_ThresholdParams;      // Offset:    8
//       int4 m_SubsampleIndices;       // Offset:   16
//       float4 m_MiscParams;           // Offset:   32
//
//   } g_SMAAFilterConstants;           // Offset:    0 Size:    48
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// SMAAFilterConstantscb             cbuffer      NA          NA    1        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyz         0     NONE   float   xyz
// 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   xy          1     NONE   float   xy
// TEXCOORD                 1   xyzw        2     NONE   float   xyzw
// TEXCOORD                 2   xyzw        3     NONE   float   xyzw
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb1[1], immediateIndexed
dcl_input v0.xyz
dcl_input v1.xy
dcl_output_siv o0.xyzw, position
dcl_output o1.xy
dcl_output o2.xyzw
dcl_output o3.xyzw
mov o0.xyz, v0.xyzx
mov o0.w, l(1.000000)
mov o1.xy, v1.xyxx
mad o2.xyzw, cb1[0].xyxy, l(-1.000000, 0.000000, 0.000000, -1.000000), v1.xyxy
mad o3.xyzw, cb1[0].xyxy, l(1.000000, 0.000000, 0.000000, 1.000000), v1.xyxy
ret
// Approximately 6 instruction slots used

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