/*
 * Vertex shader for /grate/tests/texture-wrap
 */

.exports
	[0] = "position";
	[7] = "texcoord";

.attributes
	[0] = "position";
	[1] = "texcoord";

.uniforms
	[0] = "vtx_offset";

.asm

/* Position */
EXEC(export[0]=vector) ADDv r63.xy**, a[0].xyzw, c[0].xyzw;

/* texcoord export */
EXEC(export[7]=vector) MOVv r63.xy**, a[1].xyzw;
