bgfx/3rdparty/glsl-optimizer/tests/vertex/swizzlemask-in.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

9 lines
190 B
Text

varying vec4 texcoord;
void main()
{
gl_Position.zw = gl_Vertex.xy*2.0;
gl_Position.xy = gl_Vertex.xy;
texcoord.x = gl_Vertex.z;
texcoord.yz = gl_Vertex.zw;
texcoord.w = gl_Vertex.x;
}