
#ifndef I_FXAA_H
#define I_FXAA_H

#include "../lib/defs.glslh"

#ifdef VERT_STAGE
ATTRIBUTE(0) vec3 position;
ATTRIBUTE(1) vec2 texCoordRawIn;
#endif

#ifdef FRAG_STAGE
OUT(0) vec4 fragColor;
#endif

UNIFORM(0) sampler2D tex;
UNIFORM(1) vec2 tex_size;
UNIFORM(2) sampler2D depth;

VARYING(0) vec2 v_coordNW;
VARYING(1) vec2 v_coordNE;
VARYING(2) vec2 v_coordSW;
VARYING(3) vec2 v_coordSE;
VARYING(4) vec2 v_coordM;
VARYING(5) vec2 v_coordRaw;
VARYING(6) vec2 v_rcpFrame;

#endif
