#ifdef GL_ES
precision highp float;
#endif

// modulus
#if (__VERSION__ >= 130) || defined GL_EXT_gpu_shader4
#define Mod(x, y) ((x) % (y))
#else
#define Mod(x, y) int(mod(float(x), float(y)))
#endif  // __VERSION__

// redefinitions
#if __VERSION__ < 130
#define in attribute
#define out varying
#endif  // __VERSION__
