/*=============================================================================
	FilterVertexShader.usf: Filter vertex shader source.
	Copyright © 2003-2006 Epic Games, Inc. All Rights Reserved.
=============================================================================*/

#include "Common.usf"

float4 SampleOffsets[(NUM_SAMPLES + 1) / 2];

void Main(
	float4 InPosition : POSITION,
	float2 UV : TEXCOORD0,
	out float4 OutPosition : POSITION,
	out float4 OutOffsetUVs[(NUM_SAMPLES + 1) / 2] : TEXCOORD0
	)
{
	for(int OffsetIndex = 0;OffsetIndex < (NUM_SAMPLES + 1) / 2;OffsetIndex++)
	{
		OutOffsetUVs[OffsetIndex] = UV.xyyx + SampleOffsets[OffsetIndex];
	}
	OutPosition = InPosition;
}
